java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValuesAssignment
Direct Known Subclasses:
ValidValuesAssignmentConsumer, ValidValuesAssignmentDefinition

public class ValidValuesAssignment extends PropertyBase
ValidValuesAssignment contains the properties for a valid value's reference data assignment to a referenceable.
  • Constructor Details

    • ValidValuesAssignment

      public ValidValuesAssignment()
      Default constructor
    • ValidValuesAssignment

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

    • getStrictRequirement

      public boolean getStrictRequirement()
      Returns whether the valid values are a suggestion or a requirement.
      Returns:
      boolean flag
    • setStrictRequirement

      public void setStrictRequirement(boolean strictRequirement)
      Set up whether the valid values are a suggestion or a requirement.
      Parameters:
      strictRequirement - boolean flag
    • 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 PropertyBase
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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