Class ProfileElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.metadataelements.ProfileElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class ProfileElement extends Object implements MetadataElement, Serializable
ProfileElement contains the properties and header for a profile of a person, team, engine or organization retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProfileElement()Default constructorProfileElement(ProfileElement 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.List<ContactMethodElement>getContactMethods()Return the list of contact methods for the individual.ElementHeadergetElementHeader()Return the element header associated with the properties.ActorProfilePropertiesgetProfileProperties()Return the properties of the profile.List<UserIdentityElement>getUserIdentities()Return the list of user identities associated with the personal profile.inthashCode()Return hash code for this objectvoidsetContactMethods(List<ContactMethodElement> contactMethods)Set up the list of contact methods for the individual.voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetProfileProperties(ActorProfileProperties profileProperties)Set up the profile properties.voidsetUserIdentities(List<UserIdentityElement> userIdentities)Set up the list of user identities associated with the personal profile.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ProfileElement
public ProfileElement()
Default constructor
-
ProfileElement
public ProfileElement(ProfileElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProfileProperties
public ActorProfileProperties getProfileProperties()
Return the properties of the profile.- Returns:
- properties
-
setProfileProperties
public void setProfileProperties(ActorProfileProperties profileProperties)
Set up the profile properties.- Parameters:
profileProperties- properties
-
getUserIdentities
public List<UserIdentityElement> getUserIdentities()
Return the list of user identities associated with the personal profile.- Returns:
- list or null
-
setUserIdentities
public void setUserIdentities(List<UserIdentityElement> userIdentities)
Set up the list of user identities associated with the personal profile.- Parameters:
userIdentities- list or null
-
getContactMethods
public List<ContactMethodElement> getContactMethods()
Return the list of contact methods for the individual.- Returns:
- list or null
-
setContactMethods
public void setContactMethods(List<ContactMethodElement> contactMethods)
Set up the list of contact methods for the individual.- Parameters:
contactMethods- list or null
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-