Class ProfileLocationElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.metadataelements.ProfileLocationElement
-
- All Implemented Interfaces:
Serializable
public class ProfileLocationElement extends Object implements Serializable
ProfileLocationElement contains the properties and header for a relationship between a profile and a user identity retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileLocationElement()Default constructorProfileLocationElement(ProfileLocationElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ElementStubgetLocation()Return the properties of the location.ProfileLocationPropertiesgetProperties()Return the properties from the profile location relationship.inthashCode()Return hash code for this objectvoidsetLocation(ElementStub location)Set up the userId properties.voidsetProperties(ProfileLocationProperties properties)Set up the properties from the profile location relationship.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ProfileLocationElement
public ProfileLocationElement()
Default constructor
-
ProfileLocationElement
public ProfileLocationElement(ProfileLocationElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getProperties
public ProfileLocationProperties getProperties()
Return the properties from the profile location relationship.- Returns:
- profile identity
-
setProperties
public void setProperties(ProfileLocationProperties properties)
Set up the properties from the profile location relationship.- Parameters:
properties- profile identity
-
getLocation
public ElementStub getLocation()
Return the properties of the location.- Returns:
- properties
-
setLocation
public void setLocation(ElementStub location)
Set up the userId properties.- Parameters:
location- properties
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-