Class PersonalProfileUniverse
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.PersonalProfileElement
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.PersonalProfileUniverse
- All Implemented Interfaces:
Serializable
,MetadataElement
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructorCopy/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 recognition of the contribution that this user has made to open metadata.getPeers()
Return the list of profile identifiers (GUIDs) for peers.getRoles()
Return the list of identifiers for this profile's roles.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
setContributionRecord
(ContributionRecordElement contributionRecord) Set up the recognition of the contribution that this user has made to open metadata.void
setPeers
(List<ElementStub> peers) Set up the list of profile identifiers (GUIDs) for peers.void
setRoles
(List<ElementStub> roles) Set up the list of identifiers for this profile's roles.void
setUserIdentities
(List<ProfileIdentityElement> userIdentities) Set up the list of user identities associated with the personal profile.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.communityprofile.metadataelements.PersonalProfileElement
getElementHeader, getProfileProperties, setElementHeader, setProfileProperties
-
Constructor Details
-
PersonalProfileUniverse
public PersonalProfileUniverse()Default constructor -
PersonalProfileUniverse
Copy/clone constructor- Parameters:
template
- object to copy
-
PersonalProfileUniverse
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getContributionRecord
Return the recognition of the contribution that this user has made to open metadata.- Returns:
- contribution record
-
setContributionRecord
Set up the recognition of the contribution that this user has made to open metadata.- Parameters:
contributionRecord
- contribution record
-
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
-
getPeers
Return the list of profile identifiers (GUIDs) for peers.- Returns:
- list of stubs for linked elements
-
setPeers
Set up the list of profile identifiers (GUIDs) for peers.- Parameters:
peers
- list of stubs for linked elements
-
getRoles
Return the list of identifiers for this profile's roles.- Returns:
- list of stubs for linked elements
-
setRoles
Set up the list of identifiers for this profile's roles.- Parameters:
roles
- list of stubs for linked elements
-
toString
JSON-style toString- Overrides:
toString
in classPersonalProfileElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classPersonalProfileElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classPersonalProfileElement
- Returns:
- int hash code
-