public class CohortConfig extends AdminServicesConfigHeader
| Constructor and Description |
|---|
CohortConfig()
Default constructor does nothing.
|
CohortConfig(CohortConfig template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
String |
getCohortName()
Return the name of the cohort.
|
Connection |
getCohortOMRSTopicConnection()
Return the connection to the cohort's OMRS Topic.
|
OpenMetadataEventProtocolVersion |
getCohortOMRSTopicProtocolVersion()
Return the protocol version to use when exchanging events amongst the cohort members.
|
Connection |
getCohortRegistryConnection()
Set up the connection to the cohort registry store.
|
OpenMetadataExchangeRule |
getEventsToProcessRule()
Return the rule indicating whether incoming metadata events from a cohort should be processed.
|
List<TypeDefSummary> |
getSelectedTypesToProcess()
Return the list of TypeDefs used if the eventsToProcess rule (above) says "SELECTED_TYPES" - otherwise
it is set to null.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
void |
setCohortName(String cohortName)
Set up the name of the cohort.
|
void |
setCohortOMRSTopicConnection(Connection cohortOMRSTopicConnection)
Set up the connection to the cohort's OMRS Topic.
|
void |
setCohortOMRSTopicProtocolVersion(OpenMetadataEventProtocolVersion cohortOMRSTopicProtocolVersion)
Set up the protocol version to use when exchanging events amongst the cohort members.
|
void |
setCohortRegistryConnection(Connection cohortRegistryConnection)
Set up the connection for the cohort registry store.
|
void |
setEventsToProcessRule(OpenMetadataExchangeRule eventsToProcessRule)
Set up the rule indicating whether incoming metadata events from a cohort should be processed.
|
void |
setSelectedTypesToProcess(List<TypeDefSummary> selectedTypesToProcess)
Set up the list of TypeDefs used if the EventsToProcess rule (above) says "SELECTED_TYPES" - otherwise
it is set to null.
|
String |
toString()
Standard toString method.
|
public CohortConfig()
public CohortConfig(CohortConfig template)
template - object to copypublic String getCohortName()
public void setCohortName(String cohortName)
cohortName - Stringpublic Connection getCohortRegistryConnection()
public void setCohortRegistryConnection(Connection cohortRegistryConnection)
cohortRegistryConnection - Connection objectpublic Connection getCohortOMRSTopicConnection()
public void setCohortOMRSTopicConnection(Connection cohortOMRSTopicConnection)
cohortOMRSTopicConnection - Connection objectpublic OpenMetadataEventProtocolVersion getCohortOMRSTopicProtocolVersion()
public void setCohortOMRSTopicProtocolVersion(OpenMetadataEventProtocolVersion cohortOMRSTopicProtocolVersion)
cohortOMRSTopicProtocolVersion - protocol version enumpublic OpenMetadataExchangeRule getEventsToProcessRule()
public void setEventsToProcessRule(OpenMetadataExchangeRule eventsToProcessRule)
eventsToProcessRule - OpenMetadataExchangeRule - NONE, JUST_TYPEDEFS, SELECTED_TYPES and ALL.public List<TypeDefSummary> getSelectedTypesToProcess()
public void setSelectedTypesToProcess(List<TypeDefSummary> selectedTypesToProcess)
selectedTypesToProcess - list of TypeDefs that determine which metadata instances to processpublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2019 ODPi. All rights reserved.