Class CohortDescription
java.lang.Object
org.odpi.openmetadata.repositoryservices.properties.CohortDescription
- All Implemented Interfaces:
Serializable
CohortDescription describes a single cohort.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCohortDescription(CohortDescription template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the name of the cohort.Return the status of the connection to the cohort.Return the connection to the instances cohort topic if it is in use.Return the connection to the registration cohort topic if it is in use.Return the connection to the single cohort topic if it is in use.Deprecated.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.toString()Standard toString method.
-
Constructor Details
-
CohortDescription
public CohortDescription()Default constructor -
CohortDescription
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getCohortName
Return the name of the cohort.- Returns:
- string name
-
setCohortName
Set up the name of the cohort- Parameters:
cohortName- string name
-
getConnectionStatus
Return the status of the connection to the cohort.- Returns:
- status
-
setConnectionStatus
Set up the status of the connector tio the cohort.- Parameters:
connectionStatus- status
-
getTopicConnection
Deprecated.Return the connection to the principle cohort topic if it is in use.- Returns:
- Connection object
-
setTopicConnection
Deprecated.Set up the connection to the principle cohort topic if it is in use.- Parameters:
topicConnection- Connection object
-
getSingleTopicConnection
Return the connection to the single cohort topic if it is in use.- Returns:
- Connection object
-
setSingleTopicConnection
Set up the connection to the single cohort topic if it is in use.- Parameters:
singleTopicConnection- Connection object
-
getRegistrationTopicConnection
Return the connection to the registration cohort topic if it is in use.- Returns:
- Connection object
-
setRegistrationTopicConnection
Set up the connection to the registration cohort topic if it is in use.- Parameters:
registrationTopicConnection- Connection object
-
getTypesTopicConnection
Return the connection to the types cohort topic if it is in use.- Returns:
- Connection object
-
setTypesTopicConnection
Set up the connection to the types cohort topic if it is in use.- Parameters:
typesTopicConnection- Connection object
-
getInstancesTopicConnection
Return the connection to the instances cohort topic if it is in use.- Returns:
- Connection object
-
setInstancesTopicConnection
Set up the connection to the instances cohort topic if it is in use.- Parameters:
instanceTopicConnection- Connection object
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-