Package com.orchestranetworks.service.extensions

# Interface ReplicaTable

All Superinterfaces:
  `Replica`

public interface ReplicaTable extends Replica
Represents a replica table in a replication unit.

Since:
  5.8.0
See Also:
  - `ReplicationUnit.getReplicaTables()`
  - `ReplicationUnit.getReplicationUnitsForTable(SchemaNode, com.orchestranetworks.instance.Repository)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ReplicaForList`
  `getReplicaForList(SchemaNode aListNode)`
  Returns the replica of the specified aggregated list node.
  `Iterator<ReplicaForList>`
  `getReplicaForLists()`
  Returns the replicas of the aggregated lists contained in the replicated table.

  ### Methods inherited from interface com.orchestranetworks.service.extensions.Replica

  `getColumnNameInDatabase, getColumnNamesInDatabase, getContainerReplicationUnit, getNameInDatabase, getReplicatedNode`

- ## Method Details

  - ### getReplicaForLists

    Iterator<ReplicaForList> getReplicaForLists()
    Returns the replicas of the aggregated lists contained in the replicated table.

    Returns an empty iterator if the replicated table node does not contain replicated aggregated lists.

    See Also:
      - `getReplicaForList(SchemaNode)`

  - ### getReplicaForList

    ReplicaForList getReplicaForList(SchemaNode aListNode)
    Returns the replica of the specified aggregated list node.

    Returns `null` if the specified node is:

    - computed;
    - not replicated (specifies the property `osd:replication disable = "true"`).
    Throws:
      `IllegalArgumentException` - if the specified node is:
      - `null`;
      - not a table record node;
      - not an aggregated list;
      - not a descendant of the current replicated table node.
    See Also:
      - `getReplicaForLists()`