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
public class ValidValuesAssignmentConsumer extends ValidValuesAssignment
ValidValuesAssignmentConsumer contains the properties for a referenceable that is linked to a requested valid value via the ValidValuesAssignment.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ValidValuesAssignmentConsumer()Default constructorValidValuesAssignmentConsumer(ValidValuesAssignmentConsumer 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.ReferenceablegetConsumer()Returns the linked referenceable.inthashCode()Return hash code for this objectvoidsetConsumer(Referenceable consumer)Set up the linked referenceable.StringtoString()JSON-style toString-
Methods 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 Detail
-
ValidValuesAssignmentConsumer
public ValidValuesAssignmentConsumer()
Default constructor
-
ValidValuesAssignmentConsumer
public ValidValuesAssignmentConsumer(ValidValuesAssignmentConsumer template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getConsumer
public Referenceable getConsumer()
Returns the linked referenceable.- Returns:
- properties of the referenceable
-
setConsumer
public void setConsumer(Referenceable consumer)
Set up the linked referenceable.- Parameters:
consumer- properties of the referenceable
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classValidValuesAssignment- 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 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
-
-