Class ValidValuesAssignmentConsumer
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.ValidValuesAssignmentConsumer
- All Implemented Interfaces:
Serializable
ValidValuesAssignmentConsumer contains the properties for a referenceable that is linked to a requested valid value via the ValidValuesAssignment.
- 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 linked referenceable.inthashCode()Return hash code for this objectvoidsetConsumer(Referenceable consumer) Set up the linked referenceable.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
-
ValidValuesAssignmentConsumer
public ValidValuesAssignmentConsumer()Default constructor -
ValidValuesAssignmentConsumer
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getConsumer
Returns the linked referenceable.- Returns:
- properties of the referenceable
-
setConsumer
Set up the linked referenceable.- Parameters:
consumer- properties of the referenceable
-
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
-