Class ProfileLocationElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProfileLocationElement
ProfileLocationElement contains the properties and header for a relationship between a profile and a user identity retrieved
from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorProfileLocationElement
(ProfileLocationElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties of the location.Return the properties from the profile location relationship.int
hashCode()
Return hash code for this objectvoid
setLocation
(ElementStub location) Set up the userId properties.void
setProperties
(ProfileLocationProperties properties) Set up the properties from the profile location relationship.toString()
JSON-style toString
-
Constructor Details
-
ProfileLocationElement
public ProfileLocationElement()Default constructor -
ProfileLocationElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProperties
Return the properties from the profile location relationship.- Returns:
- profile identity
-
setProperties
Set up the properties from the profile location relationship.- Parameters:
properties
- profile identity
-
getLocation
Return the properties of the location.- Returns:
- properties
-
setLocation
Set up the userId properties.- Parameters:
location
- properties
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-