java.lang.Object
org.odpi.openmetadata.adapters.connectors.egeriainfrastructure.properties.OMAGCohortProperties

public class OMAGCohortProperties extends Object
OMAGCohortProperties captures details about a specific cohort from a particular server's point of view.
  • Constructor Details

    • OMAGCohortProperties

      public OMAGCohortProperties()
  • Method Details

    • getCohortName

      public String getCohortName()
    • setCohortName

      public void setCohortName(String cohortName)
    • getConnectionStatus

      public CohortConnectionStatus getConnectionStatus()
    • setConnectionStatus

      public void setConnectionStatus(CohortConnectionStatus connectionStatus)
    • getConnectors

      public List<OMAGConnectorProperties> getConnectors()
    • setConnectors

      public void setConnectors(List<OMAGConnectorProperties> connectors)
    • getLocalRegistration

      public MemberRegistration getLocalRegistration()
    • setLocalRegistration

      public void setLocalRegistration(MemberRegistration localRegistration)
    • getRemoteRegistrations

      public List<MemberRegistration> getRemoteRegistrations()
    • setRemoteRegistrations

      public void setRemoteRegistrations(List<MemberRegistration> remoteRegistrations)
    • 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()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int