Class CohortDescription
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.properties.CohortDescription
-
- All Implemented Interfaces:
Serializable
public class CohortDescription extends Object
CohortDescription describes a single cohort.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CohortDescription()Default constructorCohortDescription(CohortDescription template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCohortName()Return the name of the cohort.CohortConnectionStatusgetConnectionStatus()Return the status of the connection to the cohort.ConnectiongetInstancesTopicConnection()Return the connection to the instances cohort topic if it is in use.ConnectiongetRegistrationTopicConnection()Return the connection to the registration cohort topic if it is in use.ConnectiongetSingleTopicConnection()Return the connection to the single cohort topic if it is in use.ConnectiongetTopicConnection()Deprecated.ConnectiongetTypesTopicConnection()Return the connection to the types cohort topic if it is in use.inthashCode()Create a hash code for this element type.voidsetCohortName(String cohortName)Set up the name of the cohortvoidsetConnectionStatus(CohortConnectionStatus connectionStatus)Set up the status of the connector tio the cohort.voidsetInstancesTopicConnection(Connection instanceTopicConnection)Set up the connection to the instances cohort topic if it is in use.voidsetRegistrationTopicConnection(Connection registrationTopicConnection)Set up the connection to the registration cohort topic if it is in use.voidsetSingleTopicConnection(Connection singleTopicConnection)Set up the connection to the single cohort topic if it is in use.voidsetTopicConnection(Connection topicConnection)Deprecated.voidsetTypesTopicConnection(Connection typesTopicConnection)Set up the connection to the types cohort topic if it is in use.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
CohortDescription
public CohortDescription()
Default constructor
-
CohortDescription
public CohortDescription(CohortDescription template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getCohortName
public String getCohortName()
Return the name of the cohort.- Returns:
- string name
-
setCohortName
public void setCohortName(String cohortName)
Set up the name of the cohort- Parameters:
cohortName- string name
-
getConnectionStatus
public CohortConnectionStatus getConnectionStatus()
Return the status of the connection to the cohort.- Returns:
- status
-
setConnectionStatus
public void setConnectionStatus(CohortConnectionStatus connectionStatus)
Set up the status of the connector tio the cohort.- Parameters:
connectionStatus- status
-
getTopicConnection
@Deprecated public Connection getTopicConnection()
Deprecated.Return the connection to the principle cohort topic if it is in use.- Returns:
- Connection object
-
setTopicConnection
@Deprecated public void setTopicConnection(Connection topicConnection)
Deprecated.Set up the connection to the principle cohort topic if it is in use.- Parameters:
topicConnection- Connection object
-
getSingleTopicConnection
public Connection getSingleTopicConnection()
Return the connection to the single cohort topic if it is in use.- Returns:
- Connection object
-
setSingleTopicConnection
public void setSingleTopicConnection(Connection singleTopicConnection)
Set up the connection to the single cohort topic if it is in use.- Parameters:
singleTopicConnection- Connection object
-
getRegistrationTopicConnection
public Connection getRegistrationTopicConnection()
Return the connection to the registration cohort topic if it is in use.- Returns:
- Connection object
-
setRegistrationTopicConnection
public void setRegistrationTopicConnection(Connection registrationTopicConnection)
Set up the connection to the registration cohort topic if it is in use.- Parameters:
registrationTopicConnection- Connection object
-
getTypesTopicConnection
public Connection getTypesTopicConnection()
Return the connection to the types cohort topic if it is in use.- Returns:
- Connection object
-
setTypesTopicConnection
public void setTypesTopicConnection(Connection typesTopicConnection)
Set up the connection to the types cohort topic if it is in use.- Parameters:
typesTopicConnection- Connection object
-
getInstancesTopicConnection
public Connection getInstancesTopicConnection()
Return the connection to the instances cohort topic if it is in use.- Returns:
- Connection object
-
setInstancesTopicConnection
public void setInstancesTopicConnection(Connection instanceTopicConnection)
Set up the connection to the instances cohort topic if it is in use.- Parameters:
instanceTopicConnection- Connection object
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-