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
ValidValuesAssignmentConsumer contains the properties for a referenceable that is linked to a requested valid value via the ValidValuesAssignment.
-
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 linked referenceable.int
hashCode()
Return hash code for this objectvoid
setConsumer
(Referenceable consumer) Set up the linked referenceable.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
-
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:
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
-