Class ValidValueAssignmentProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValueAssignmentProperties
- Direct Known Subclasses:
ValidValueAssignmentConsumerElement
,ValidValueAssignmentDefinitionElement
ValidValueAssignmentProperties describes the properties between a referenceable and its valid values.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.boolean
Return the strict requirement flag.int
hashCode()
Return hash code for this objectvoid
setStrictRequirement
(boolean strictRequirement) Set up the strict requirement flag.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValueAssignmentProperties
public ValidValueAssignmentProperties()Default constructor -
ValidValueAssignmentProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getStrictRequirement
public boolean getStrictRequirement()Return the strict requirement flag.- Returns:
- boolean
-
setStrictRequirement
public void setStrictRequirement(boolean strictRequirement) Set up the strict requirement flag.- Parameters:
strictRequirement
- string type name
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-