Class PersonalProfileUniverse
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelement.PersonalProfileElement
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelement.PersonalProfileUniverse
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class PersonalProfileUniverse extends PersonalProfileElement
PersonalProfileUniverse contains the properties and header for a personal profile retrieved from the metadata repository along with details of the contribution record, user ids, contact methods, peers and roles that the profile is linked to.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersonalProfileUniverse()Default constructorPersonalProfileUniverse(PersonalProfileElement template)Copy/clone constructorPersonalProfileUniverse(PersonalProfileUniverse 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.ContributionRecordElementgetContributionRecord()Return the recognition of the contribution that this user has made to open metadata.List<ElementStub>getPeers()Return the list of profile identifiers (GUIDs) for peers.List<ElementStub>getRoles()Return the list of identifiers for this profile's roles.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.voidsetContributionRecord(ContributionRecordElement contributionRecord)Set up the recognition of the contribution that this user has made to open metadata.voidsetPeers(List<ElementStub> peers)Set up the list of profile identifiers (GUIDs) for peers.voidsetRoles(List<ElementStub> roles)Set up the list of identifiers for this profile's roles.voidsetUserIdentities(List<UserIdentityElement> userIdentities)Set up the list of user identities associated with the personal profile.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelement.PersonalProfileElement
getElementHeader, getProfileProperties, setElementHeader, setProfileProperties
-
-
-
-
Constructor Detail
-
PersonalProfileUniverse
public PersonalProfileUniverse()
Default constructor
-
PersonalProfileUniverse
public PersonalProfileUniverse(PersonalProfileUniverse template)
Copy/clone constructor- Parameters:
template- object to copy
-
PersonalProfileUniverse
public PersonalProfileUniverse(PersonalProfileElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getContributionRecord
public ContributionRecordElement getContributionRecord()
Return the recognition of the contribution that this user has made to open metadata.- Returns:
- contribution record
-
setContributionRecord
public void setContributionRecord(ContributionRecordElement contributionRecord)
Set up the recognition of the contribution that this user has made to open metadata.- Parameters:
contributionRecord- contribution record
-
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
-
getPeers
public List<ElementStub> getPeers()
Return the list of profile identifiers (GUIDs) for peers.- Returns:
- list of stubs for linked elements
-
setPeers
public void setPeers(List<ElementStub> peers)
Set up the list of profile identifiers (GUIDs) for peers.- Parameters:
peers- list of stubs for linked elements
-
getRoles
public List<ElementStub> getRoles()
Return the list of identifiers for this profile's roles.- Returns:
- list of stubs for linked elements
-
setRoles
public void setRoles(List<ElementStub> roles)
Set up the list of identifiers for this profile's roles.- Parameters:
roles- list of stubs for linked elements
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classPersonalProfileElement- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classPersonalProfileElement- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classPersonalProfileElement- Returns:
- int hash code
-
-