Class ValidValueMembershipProperties
java.lang.Object
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValueMembershipProperties
ValidValueMembershipProperties provides a flag to indicate if this value is the default value for the set.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.booleanReturn whether it is a default value.inthashCode()Return hash code based on properties.voidsetDefaultValue(boolean defaultValue) Set up whether it is a default value.toString()JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValueMembershipProperties
public ValidValueMembershipProperties()Default constructor -
ValidValueMembershipProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getDefaultValue
public boolean getDefaultValue()Return whether it is a default value.- Returns:
- flag
-
setDefaultValue
public void setDefaultValue(boolean defaultValue) Set up whether it is a default value.- Parameters:
defaultValue- flag
-
toString
JSON-style toString- Overrides:
toStringin classRelationshipProperties- Returns:
- return string containing the property names and values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-