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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the referenceable beaninthashCode()Return hash code for this objectvoidsetConsumer(ReferenceableElement consumer) Set up the referenceable beantoString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValueAssignmentProperties
getStrictRequirement, setStrictRequirementMethods 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:
toStringin classValidValueAssignmentProperties- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classValidValueAssignmentProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classValidValueAssignmentProperties- Returns:
- int hash code
-