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
- All Implemented Interfaces:
Serializable
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).
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Returns the properties of the valid value used in the assignment.inthashCode()Return hash code for this objectvoidsetValidValue(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, setStrictRequirementMethods 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:
toStringin classValidValuesAssignment- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classValidValuesAssignment- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classValidValuesAssignment- Returns:
- int hash code
-