Class ProfileIdentityElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProfileIdentityElement
ProfileIdentityElement contains the properties and header for a relationship between a profile and a user identity retrieved
from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorProfileIdentityElement
(ProfileIdentityElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the properties from the profile identity relationship.Return the properties of the userId.int
hashCode()
Return hash code for this objectvoid
setProfileIdentity
(ProfileIdentityProperties profileIdentity) Set up the properties from the profile identity relationship.void
setUserIdentity
(UserIdentityElement userIdentity) Set up the userId properties.toString()
JSON-style toString
-
Constructor Details
-
ProfileIdentityElement
public ProfileIdentityElement()Default constructor -
ProfileIdentityElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getProfileIdentity
Return the properties from the profile identity relationship.- Returns:
- profile identity
-
setProfileIdentity
Set up the properties from the profile identity relationship.- Parameters:
profileIdentity
- profile identity
-
getUserIdentity
Return the properties of the userId.- Returns:
- properties
-
setUserIdentity
Set up the userId properties.- Parameters:
userIdentity
- 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
-