Class CohortDescription
java.lang.Object
org.odpi.openmetadata.repositoryservices.properties.CohortDescription
CohortDescription describes a single cohort.
-
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 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.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
-
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.
-