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 TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the list of contact methods for the individual.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the properties.Return the properties of the profile.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(org.odpi.openmetadata.frameworks.connectors.properties.beans.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.toString()JSON-style toString
-
Constructor Details
-
ProfileElement
public ProfileElement()Default constructor -
ProfileElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.- Specified by:
setElementHeaderin 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
-