public class TdbGridHostPublication
extends java.lang.Object
| Constructor and Description |
|---|
TdbGridHostPublication(java.lang.String database,
java.lang.String cluster)
Constructor, create a new publication container
|
TdbGridHostPublication(TdbGridHostPublication src)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Override the default to define equality only if both database name and
cluster name are equal
|
java.lang.String |
getCluster()
Retrieve the name of the cluster to which the database is being published
|
java.lang.String |
getDatabase()
Retrieve the name of the database being published
|
void |
setCluster(java.lang.String name)
Establish the name of the cluster to which the database is being published
|
void |
setDatabase(java.lang.String name)
Establish the name of the database being published
|
public TdbGridHostPublication(java.lang.String database,
java.lang.String cluster)
database - Database namecluster - Cluster to which database is publishedpublic TdbGridHostPublication(TdbGridHostPublication src)
src - Source of copypublic java.lang.String getDatabase()
public void setDatabase(java.lang.String name)
name - Database namepublic java.lang.String getCluster()
public void setCluster(java.lang.String name)
name - Cluster namepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - Object to test