Package com.tietoenator.trip.jxp.grid
Class TdbGridHostPublication
java.lang.Object
com.tietoenator.trip.jxp.grid.TdbGridHostPublication
Container for a particular publication from a host
-
Constructor Summary
ConstructorsConstructorDescriptionCopy constructorTdbGridHostPublication
(String database, String cluster) Constructor, create a new publication container -
Method Summary
Modifier and TypeMethodDescriptionboolean
Override the default to define equality only if both database name and cluster name are equalRetrieve the name of the cluster to which the database is being publishedRetrieve the name of the database being publishedvoid
setCluster
(String name) Establish the name of the cluster to which the database is being publishedvoid
setDatabase
(String name) Establish the name of the database being published
-
Constructor Details
-
TdbGridHostPublication
Constructor, create a new publication container- Parameters:
database
- Database namecluster
- Cluster to which database is published
-
TdbGridHostPublication
Copy constructor- Parameters:
src
- Source of copy
-
-
Method Details
-
getDatabase
Retrieve the name of the database being published- Returns:
- Database name
-
setDatabase
Establish the name of the database being published- Parameters:
name
- Database name
-
getCluster
Retrieve the name of the cluster to which the database is being published- Returns:
- Cluster name
-
setCluster
Establish the name of the cluster to which the database is being published- Parameters:
name
- Cluster name
-
equals
Override the default to define equality only if both database name and cluster name are equal
-