com.tietoenator.trip.jxp.grid

## Class TdbGridReplicaSetMember

- java.lang.Object
- - com.tietoenator.trip.jxp.grid.TdbGridReplicaSetMember

-     public class TdbGridReplicaSetMember
      extends java.lang.Object

  Container for a member of a TRIPgrid replica set, i.e. a physical database served by a physical host

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TdbGridReplicaSetMember(java.lang.String host, java.lang.String name)` Constructor, creates a new member
    `TdbGridReplicaSetMember(TdbGridReplicaSetMember src)` Copy constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object o)` Overrides default to define equality only if the database name and host name are equal
    `java.lang.String` | `getHost()` Retrieve the name of the host from which the database is published
    `java.lang.String` | `getName()` Retrieve the name of the database
    `void` | `setHost(java.lang.String name)` Establish the name of the host from which the database is published
    `void` | `setName(java.lang.String name)` Establish the name of the database

    - ### Methods inherited from class java.lang.Object

      `getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TdbGridReplicaSetMember

          public TdbGridReplicaSetMember(java.lang.String host,
                                         java.lang.String name)

      Constructor, creates a new member
      Parameters:
        `host` - Name of host server
        `name` - Name of database

    - #### TdbGridReplicaSetMember

          public TdbGridReplicaSetMember(TdbGridReplicaSetMember src)

      Copy constructor
      Parameters:
        `src` - Source of copy

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      Retrieve the name of the database
      Returns:
        Database name

    - #### setName

          public void setName(java.lang.String name)

      Establish the name of the database
      Parameters:
        `name` - Database name

    - #### getHost

          public java.lang.String getHost()

      Retrieve the name of the host from which the database is published
      Returns:
        Host name

    - #### setHost

          public void setHost(java.lang.String name)

      Establish the name of the host from which the database is published
      Parameters:
        `name` -

    - #### equals

          public boolean equals(java.lang.Object o)

      Overrides default to define equality only if the database name and host name are equal
      Overrides:
        `equals` in class `java.lang.Object`
      Parameters:
        `o` - Object to test
      Returns:
        true / false