public class ValidValueMappingElement extends ValidValuesMappingProperties
ValidValueMappingElement contains the properties and remote end of a valid value mapping as seen from a valid value.
  • Constructor Details

    • ValidValueMappingElement

      public ValidValueMappingElement()
      Default constructor
    • ValidValueMappingElement

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

    • getValidValueElement

      public ValidValueElement getValidValueElement()
      Return the valid value element that are mapped to the requested valid value.
      Returns:
      valid value object
    • setValidValueElement

      public void setValidValueElement(ValidValueElement validValueElement)
      Set up the valid value elements that are mapped together.
      Parameters:
      validValueElement - valid value object
    • 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