Class ValidValueAssignmentConsumerElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValueAssignmentProperties
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ValidValueAssignmentConsumerElement
-
- All Implemented Interfaces:
Serializable
public class ValidValueAssignmentConsumerElement extends ValidValueAssignmentProperties
ValidValueAssignmentConsumerElement describes a Referenceable that is using a valid values set/definition to define the values that may/must be assigned to it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidValueAssignmentConsumerElement()Default constructorValidValueAssignmentConsumerElement(ValidValueAssignmentConsumerElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ReferenceableElementgetConsumer()Return the referenceable beaninthashCode()Return hash code for this objectvoidsetConsumer(ReferenceableElement consumer)Set up the referenceable beanStringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValueAssignmentProperties
getStrictRequirement, setStrictRequirement
-
-
-
-
Constructor Detail
-
ValidValueAssignmentConsumerElement
public ValidValueAssignmentConsumerElement()
Default constructor
-
ValidValueAssignmentConsumerElement
public ValidValueAssignmentConsumerElement(ValidValueAssignmentConsumerElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getConsumer
public ReferenceableElement getConsumer()
Return the referenceable bean- Returns:
- bean
-
setConsumer
public void setConsumer(ReferenceableElement consumer)
Set up the referenceable bean- Parameters:
consumer- bean
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classValidValueAssignmentProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
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
-
-