Class PersonalProfileUniverse

java.lang.Object
org.odpi.openmetadata.viewservices.myprofile.metadataelements.PersonalProfileElement
org.odpi.openmetadata.viewservices.myprofile.metadataelements.PersonalProfileUniverse
All Implemented Interfaces:
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.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.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContactMethodElement>
    Return the list of contact methods for the individual.
    org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContributionRecordElement
    Return the recognition of the contribution that this user has made to open metadata.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the list of profile identifiers (GUIDs) for peers.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the list of identifiers for this profile's roles.
    List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ProfileIdentityElement>
    Return the list of user identities associated with the personal profile.
    int
    Return hash code for this object
    void
    setContactMethods(List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContactMethodElement> contactMethods)
    Set up the list of contact methods for the individual.
    void
    setContributionRecord(org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContributionRecordElement contributionRecord)
    Set up the recognition of the contribution that this user has made to open metadata.
    void
    setPeers(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> peers)
    Set up the list of profile identifiers (GUIDs) for peers.
    void
    setRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> roles)
    Set up the list of identifiers for this profile's roles.
    void
    setUserIdentities(List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ProfileIdentityElement> userIdentities)
    Set up the list of user identities associated with the personal profile.
    JSON-style toString

    Methods inherited from class org.odpi.openmetadata.viewservices.myprofile.metadataelements.PersonalProfileElement

    getElementHeader, getProfileProperties, setElementHeader, setProfileProperties

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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 Details

    • getContributionRecord

      public org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContributionRecordElement getContributionRecord()
      Return the recognition of the contribution that this user has made to open metadata.
      Returns:
      contribution record
    • setContributionRecord

      public void setContributionRecord(org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContributionRecordElement contributionRecord)
      Set up the recognition of the contribution that this user has made to open metadata.
      Parameters:
      contributionRecord - contribution record
    • getUserIdentities

      public List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ProfileIdentityElement> getUserIdentities()
      Return the list of user identities associated with the personal profile.
      Returns:
      list or null
    • setUserIdentities

      public void setUserIdentities(List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ProfileIdentityElement> userIdentities)
      Set up the list of user identities associated with the personal profile.
      Parameters:
      userIdentities - list or null
    • getContactMethods

      public List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContactMethodElement> getContactMethods()
      Return the list of contact methods for the individual.
      Returns:
      list or null
    • setContactMethods

      public void setContactMethods(List<org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ContactMethodElement> contactMethods)
      Set up the list of contact methods for the individual.
      Parameters:
      contactMethods - list or null
    • getPeers

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getPeers()
      Return the list of profile identifiers (GUIDs) for peers.
      Returns:
      list of stubs for linked elements
    • setPeers

      public void setPeers(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> peers)
      Set up the list of profile identifiers (GUIDs) for peers.
      Parameters:
      peers - list of stubs for linked elements
    • getRoles

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getRoles()
      Return the list of identifiers for this profile's roles.
      Returns:
      list of stubs for linked elements
    • setRoles

      public void setRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.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:
      toString in class PersonalProfileElement
      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:
      equals in class PersonalProfileElement
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class PersonalProfileElement
      Returns:
      int hash code