public class ValidValuesMappingElement extends ValidValuesMappingProperties
ValidValuesMappingElement contains the properties and ends of a valid value mapping relationship.
  • Constructor Details

    • ValidValuesMappingElement

      public ValidValuesMappingElement()
      Default constructor
    • ValidValuesMappingElement

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

    • getValidValueElements

      public List<ValidValueElement> getValidValueElements()
      Return the valid value elements that are mapped together.
      Returns:
      list of valid value objects
    • setValidValueElements

      public void setValidValueElements(List<ValidValueElement> validValueElements)
      Set up the valid value elements that are mapped together.
      Parameters:
      validValueElements - list of valid value objects
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ValidValuesMappingProperties
      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 ValidValuesMappingProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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