public class CohortDescription extends Object
| Constructor and Description |
|---|
CohortDescription()
Default constructor
|
CohortDescription(CohortDescription template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getCohortName()
Return the name of the cohort.
|
CohortConnectionStatus |
getConnectionStatus()
Return the status of the connection to the cohort.
|
Connection |
getInstancesTopicConnection()
Return the connection to the instances cohort topic if it is in use.
|
Connection |
getRegistrationTopicConnection()
Return the connection to the registration cohort topic if it is in use.
|
Connection |
getSingleTopicConnection()
Return the connection to the single cohort topic if it is in use.
|
Connection |
getTopicConnection()
Deprecated.
|
Connection |
getTypesTopicConnection()
Return the connection to the types cohort topic if it is in use.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setCohortName(String cohortName)
Set up the name of the cohort
|
void |
setConnectionStatus(CohortConnectionStatus connectionStatus)
Set up the status of the connector tio the cohort.
|
void |
setInstancesTopicConnection(Connection instanceTopicConnection)
Set up the connection to the instances cohort topic if it is in use.
|
void |
setRegistrationTopicConnection(Connection registrationTopicConnection)
Set up the connection to the registration cohort topic if it is in use.
|
void |
setSingleTopicConnection(Connection singleTopicConnection)
Set up the connection to the single cohort topic if it is in use.
|
void |
setTopicConnection(Connection topicConnection)
Deprecated.
|
void |
setTypesTopicConnection(Connection typesTopicConnection)
Set up the connection to the types cohort topic if it is in use.
|
String |
toString()
Standard toString method.
|
public CohortDescription()
public CohortDescription(CohortDescription template)
template - object to copypublic String getCohortName()
public void setCohortName(String cohortName)
cohortName - string namepublic CohortConnectionStatus getConnectionStatus()
public void setConnectionStatus(CohortConnectionStatus connectionStatus)
connectionStatus - status@Deprecated public Connection getTopicConnection()
@Deprecated public void setTopicConnection(Connection topicConnection)
topicConnection - Connection objectpublic Connection getSingleTopicConnection()
public void setSingleTopicConnection(Connection singleTopicConnection)
singleTopicConnection - Connection objectpublic Connection getRegistrationTopicConnection()
public void setRegistrationTopicConnection(Connection registrationTopicConnection)
registrationTopicConnection - Connection objectpublic Connection getTypesTopicConnection()
public void setTypesTopicConnection(Connection typesTopicConnection)
typesTopicConnection - Connection objectpublic Connection getInstancesTopicConnection()
public void setInstancesTopicConnection(Connection instanceTopicConnection)
instanceTopicConnection - Connection objectpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.