Class ValidValuesAssignmentDefinition
- 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.ValidValuesAssignmentDefinition
-
- All Implemented Interfaces:
Serializable
public class ValidValuesAssignmentDefinition extends ValidValuesAssignment
ValidValuesAssignmentDefinition describes the link to a valid value for a consumer of a valid value via a ValidValuesAssignment relationship. This relationship is used to make use of a valid value (typically valid value set) as a set of valid values for the referenceable (consumer).- 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 ValidValuesAssignmentDefinition()Default constructorValidValuesAssignmentDefinition(ValidValuesAssignmentDefinition 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.ValidValuegetValidValue()Returns the properties of the valid value used in the assignment.inthashCode()Return hash code for this objectvoidsetValidValue(ValidValue validValue)Set up the properties of the valid value used in the assignment.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
-
ValidValuesAssignmentDefinition
public ValidValuesAssignmentDefinition()
Default constructor
-
ValidValuesAssignmentDefinition
public ValidValuesAssignmentDefinition(ValidValuesAssignmentDefinition template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getValidValue
public ValidValue getValidValue()
Returns the properties of the valid value used in the assignment.- Returns:
- properties of the valid value
-
setValidValue
public void setValidValue(ValidValue validValue)
Set up the properties of the valid value used in the assignment.- Parameters:
validValue- properties of the asset
-
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
-
-