Class ProfileLocationProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
org.odpi.openmetadata.accessservices.communityprofile.properties.ProfileLocationProperties
- All Implemented Interfaces:
Serializable
ProfileLocationProperties describes the properties for the ProfileLocation relationship between a profile
and a location.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.Return the type of the association.inthashCode()Hash code for this objectvoidsetAssociationType(String associationType) Set up the type of the association.toString()JSON-style toString.Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ProfileLocationProperties
public ProfileLocationProperties()Default constructor -
ProfileLocationProperties
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getAssociationType
Return the type of the association.- Returns:
- string
-
setAssociationType
Set up the type of the association.- Parameters:
associationType- string
-
toString
JSON-style toString.- Overrides:
toStringin classRelationshipProperties- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-