Class ValidValuesAssignment
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValuesAssignment
- Direct Known Subclasses:
ValidValuesAssignmentConsumer
,ValidValuesAssignmentDefinition
ValidValuesAssignment contains the properties for a valid value's reference data assignment to a referenceable.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorValidValuesAssignment
(ValidValuesAssignment template) Copy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.boolean
Returns whether the valid values are a suggestion or a requirement.int
hashCode()
Return hash code for this objectvoid
setStrictRequirement
(boolean strictRequirement) Set up whether the valid values are a suggestion or a requirement.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ValidValuesAssignment
public ValidValuesAssignment()Default constructor -
ValidValuesAssignment
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
JSON-style toString -
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPropertyBase
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPropertyBase
- Returns:
- int hash code
-