Class ValidValueAssignmentConsumerElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValueAssignmentProperties
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ValidValueAssignmentConsumerElement
ValidValueAssignmentConsumerElement describes a Referenceable that is using a valid values set/definition to
define the values that may/must be assigned to it.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the referenceable beanint
hashCode()
Return hash code for this objectvoid
setConsumer
(ReferenceableElement consumer) Set up the referenceable beantoString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValueAssignmentProperties
getStrictRequirement, setStrictRequirement
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValueAssignmentConsumerElement
public ValidValueAssignmentConsumerElement()Default constructor -
ValidValueAssignmentConsumerElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getConsumer
Return the referenceable bean- Returns:
- bean
-
setConsumer
Set up the referenceable bean- Parameters:
consumer
- bean
-
toString
JSON-style toString- Overrides:
toString
in classValidValueAssignmentProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classValidValueAssignmentProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classValidValueAssignmentProperties
- Returns:
- int hash code
-