Class ProfileIdentityElement
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ProfileIdentityElement
- All Implemented Interfaces:
Serializable
ProfileIdentityElement contains the properties and header for a relationship between a profile and a user identity retrieved
from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
setProperties
(UserIdentityElement properties) 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
-
getProperties
Return the properties of the userId.- Returns:
- properties
-
setProperties
Set up the userId properties.- Parameters:
properties
- 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
-