Class ValidValuesAssignmentDefinition
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValuesAssignment
org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValuesAssignmentDefinition
ValidValuesAssignmentDefinition describes the link to a valid value for a consumer of a valid value via a ValidValuesAssignment
relationship.
This relationship is used to make use of a valid value (typically valid value set) as a set of valid values for the referenceable (consumer).
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Returns the properties of the valid value used in the assignment.int
hashCode()
Return hash code for this objectvoid
setValidValue
(ValidValue validValue) Set up the properties of the valid value used in the assignment.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValuesAssignment
getStrictRequirement, setStrictRequirement
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
ValidValuesAssignmentDefinition
public ValidValuesAssignmentDefinition()Default constructor -
ValidValuesAssignmentDefinition
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getValidValue
Returns the properties of the valid value used in the assignment.- Returns:
- properties of the valid value
-
setValidValue
Set up the properties of the valid value used in the assignment.- Parameters:
validValue
- properties of the asset
-
toString
JSON-style toString- Overrides:
toString
in classValidValuesAssignment
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classValidValuesAssignment
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classValidValuesAssignment
- Returns:
- int hash code
-