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.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection to the instances cohort topic if it is in use.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection to the registration cohort topic if it is in use.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection to the single cohort topic if it is in use.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionDeprecated.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn 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(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection instanceTopicConnection) Set up the connection to the instances cohort topic if it is in use.voidsetRegistrationTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection registrationTopicConnection) Set up the connection to the registration cohort topic if it is in use.voidsetSingleTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection singleTopicConnection) Set up the connection to the single cohort topic if it is in use.voidsetTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection topicConnection) Deprecated.voidsetTypesTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.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 public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getTopicConnection()Deprecated.Return the connection to the principle cohort topic if it is in use.- Returns:
- Connection object
-
setTopicConnection
@Deprecated public void setTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection topicConnection) Deprecated.Set up the connection to the principle cohort topic if it is in use.- Parameters:
topicConnection- Connection object
-
getSingleTopicConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getSingleTopicConnection()Return the connection to the single cohort topic if it is in use.- Returns:
- Connection object
-
setSingleTopicConnection
public void setSingleTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection singleTopicConnection) Set up the connection to the single cohort topic if it is in use.- Parameters:
singleTopicConnection- Connection object
-
getRegistrationTopicConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getRegistrationTopicConnection()Return the connection to the registration cohort topic if it is in use.- Returns:
- Connection object
-
setRegistrationTopicConnection
public void setRegistrationTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection registrationTopicConnection) Set up the connection to the registration cohort topic if it is in use.- Parameters:
registrationTopicConnection- Connection object
-
getTypesTopicConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getTypesTopicConnection()Return the connection to the types cohort topic if it is in use.- Returns:
- Connection object
-
setTypesTopicConnection
public void setTypesTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection typesTopicConnection) Set up the connection to the types cohort topic if it is in use.- Parameters:
typesTopicConnection- Connection object
-
getInstancesTopicConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getInstancesTopicConnection()Return the connection to the instances cohort topic if it is in use.- Returns:
- Connection object
-
setInstancesTopicConnection
public void setInstancesTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection instanceTopicConnection) 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.
-