Class ProfileLocationProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.locations.ProfileLocationProperties
ProfileLocationProperties describes the properties for the ProfileLocation relationship between a profile
and a location.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the type of the association.int
hashCode()
Hash code for this objectvoid
setAssociationType
(String associationType) Set up the type of the association.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.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:
toString
in classRelationshipProperties
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash code for this object- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-