Class ReferenceValueAssignmentDefinitionElement

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

public class ReferenceValueAssignmentDefinitionElement extends Object
ReferenceValueAssignmentDefinitionElement describes a valid value that is being used as a tag/classifier for a referenceable.
  • Constructor Details

    • ReferenceValueAssignmentDefinitionElement

      public ReferenceValueAssignmentDefinitionElement()
      Default constructor
    • ReferenceValueAssignmentDefinitionElement

      public ReferenceValueAssignmentDefinitionElement(ReferenceValueAssignmentDefinitionElement 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 ReferenceValueAssignmentProperties getRelationshipProperties()
      Return the properties of the relationship.
      Returns:
      properties
    • setRelationshipProperties

      public void setRelationshipProperties(ReferenceValueAssignmentProperties 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