Class ProfileElement
java.lang.Object
org.odpi.openmetadata.accessservices.digitalservice.metadataelements.ProfileElement
- All Implemented Interfaces:
Serializable
,MetadataElement
ProfileElement contains the properties and header for a profile of a person, team, engine or organization
retrieved from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorProfileElement
(ProfileElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of contact methods for the individual.Return the element header associated with the properties.Return the properties of the profile.Return the list of user identities associated with the personal profile.int
hashCode()
Return hash code for this objectvoid
setContactMethods
(List<ContactMethodElement> contactMethods) Set up the list of contact methods for the individual.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setProfileProperties
(ActorProfileProperties profileProperties) Set up the profile properties.void
setUserIdentities
(List<UserIdentityElement> userIdentities) Set up the list of user identities associated with the personal profile.toString()
JSON-style toString
-
Constructor Details
-
ProfileElement
public ProfileElement()Default constructor -
ProfileElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getProfileProperties
Return the properties of the profile.- Returns:
- properties
-
setProfileProperties
Set up the profile properties.- Parameters:
profileProperties
- properties
-
getUserIdentities
Return the list of user identities associated with the personal profile.- Returns:
- list or null
-
setUserIdentities
Set up the list of user identities associated with the personal profile.- Parameters:
userIdentities
- list or null
-
getContactMethods
Return the list of contact methods for the individual.- Returns:
- list or null
-
setContactMethods
Set up the list of contact methods for the individual.- Parameters:
contactMethods
- list or null
-
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
-