java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ValidValueMember

public class ValidValueMember extends Object
ValidValueMember describes a member of a valid value set.
  • Constructor Details

    • ValidValueMember

      public ValidValueMember()
      Default constructor
    • ValidValueMember

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

    • getRelationshipHeader

      public ElementHeader getRelationshipHeader()
      Return the element header associated with the properties.
      Returns:
      element header object
    • setRelationshipHeader

      public void setRelationshipHeader(ElementHeader relationshipHeader)
      Set up the element header associated with the properties.
      Parameters:
      relationshipHeader - element header object
    • getRelationshipProperties

      public ValidValueMembershipProperties getRelationshipProperties()
      Return the properties of the relationship.
      Returns:
      properties
    • setRelationshipProperties

      public void setRelationshipProperties(ValidValueMembershipProperties relationshipProperties)
      Set up the properties of the relationship.
      Parameters:
      relationshipProperties - properties
    • getValidValueElement

      public ValidValueElement getValidValueElement()
      Return the member element.
      Returns:
      element
    • setValidValueElement

      public void setValidValueElement(ValidValueElement validValueElement)
      Set up the member element.
      Parameters:
      validValueElement - element
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code