Class CohortDescription

java.lang.Object
org.odpi.openmetadata.repositoryservices.properties.CohortDescription
All Implemented Interfaces:
Serializable

public class CohortDescription extends Object
CohortDescription describes a single cohort.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare 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.Connection
    Return the connection to the instances cohort topic if it is in use.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
    Return the connection to the registration cohort topic if it is in use.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
    Return the connection to the single cohort topic if it is in use.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
    Deprecated.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection
    Return the connection to the types cohort topic if it is in use.
    int
    Create a hash code for this element type.
    void
    setCohortName(String cohortName)
    Set up the name of the cohort
    void
    Set up the status of the connector tio the cohort.
    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.
    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.
    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.
    void
    setTopicConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection topicConnection)
    Deprecated.
    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.
    Standard toString method.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CohortDescription

      public CohortDescription()
      Default constructor
    • CohortDescription

      public CohortDescription(CohortDescription template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getCohortName

      public String getCohortName()
      Return the name of the cohort.
      Returns:
      string name
    • setCohortName

      public void setCohortName(String cohortName)
      Set up the name of the cohort
      Parameters:
      cohortName - string name
    • getConnectionStatus

      public CohortConnectionStatus getConnectionStatus()
      Return the status of the connection to the cohort.
      Returns:
      status
    • setConnectionStatus

      public void setConnectionStatus(CohortConnectionStatus connectionStatus)
      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

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code