java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ActorProfileElement
All Implemented Interfaces:
Serializable, MetadataElement

public class ActorProfileElement extends Object implements Serializable, MetadataElement
The ActorProfileElement describes an individual, system, team or organization.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default Constructor
    Copy/clone Constructor - the resulting object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    Return the business capability linked via the organizational capability relationship.
    Return the contact methods for this profile.
    Return the contribution record (only if this profile is for a person).
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with the properties.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the stubs of the pieces of IT infrastructure linked to the profile.
    Return the headers of the location that this actor is linked to.
    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 headers of the person roles that this actor is appointed to.
    Return the properties of the profile.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the list of team that report to this team.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub
    Return a summary of the team that is above this team in the organizational hierarchy.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the list of leader roles assigned to this team.
    List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>
    Return the list of member roles assigned to this team.
    Return the list of user identities for this profile.
    int
    Return hash code for this object
    void
    Set up the business capability linked via the organizational capability relationship.
    void
    Set up the contact methods for this profile.
    void
    Set up the contribution record (only if this profile is for a person).
    void
    setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader)
    Set up the element header associated with the properties.
    void
    setLinkedInfrastructure(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> linkedInfrastructure)
    Set up the stubs of the pieces of IT infrastructure linked to the profile.
    void
    Set up the headers of the person roles that this actor is linked to.
    void
    setPeers(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> peers)
    Set up the list of profile identifiers (GUIDs) for peers.
    void
    setPersonRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> personRoles)
    Set up the headers of the person roles that this actor is appointed to.
    void
    Set up the profile properties.
    void
    setSubTeams(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> subTeams)
    Set up the list of team that report to this team.
    void
    setSuperTeam(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub superTeam)
    Set up a summary of the team that is above this team in the organizational hierarchy.
    void
    setTeamLeaderRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> teamLeaderRoles)
    Set up the list of leader roles assigned to this team.
    void
    setTeamMemberRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> teamMemberRoles)
    Set up the list of member roles assigned to this team.
    void
    Set up the list of user identities for this profile.
    JSON-style toString

    Methods inherited from class java.lang.Object

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

    • ActorProfileElement

      public ActorProfileElement()
      Default Constructor
    • ActorProfileElement

      public ActorProfileElement(ActorProfileElement template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getElementHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Specified by:
      getElementHeader in interface MetadataElement
      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:
      setElementHeader in interface MetadataElement
      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
    • getContactMethods

      public List<ContactMethodElement> getContactMethods()
      Return the contact methods for this profile.
      Returns:
      list of contact methods
    • setContactMethods

      public void setContactMethods(List<ContactMethodElement> contactMethods)
      Set up the contact methods for this profile.
      Parameters:
      contactMethods - list of contact methods
    • getContributionRecord

      public ContributionRecordElement getContributionRecord()
      Return the contribution record (only if this profile is for a person).
      Returns:
      contribution record
    • setContributionRecord

      public void setContributionRecord(ContributionRecordElement contributionRecord)
      Set up the contribution record (only if this profile is for a person).
      Parameters:
      contributionRecord - contribution record
    • getPersonRoles

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getPersonRoles()
      Return the headers of the person roles that this actor is appointed to.
      Returns:
      role stubs
    • setPersonRoles

      public void setPersonRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> personRoles)
      Set up the headers of the person roles that this actor is appointed to.
      Parameters:
      personRoles - role stubs
    • 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
    • getLocations

      public List<ProfileLocationElement> getLocations()
      Return the headers of the location that this actor is linked to.
      Returns:
      location stubs
    • setLocations

      public void setLocations(List<ProfileLocationElement> locations)
      Set up the headers of the person roles that this actor is linked to.
      Parameters:
      locations - location stubs
    • getUserIdentities

      public List<ProfileIdentityElement> getUserIdentities()
      Return the list of user identities for this profile.
      Returns:
      list of userIds
    • setUserIdentities

      public void setUserIdentities(List<ProfileIdentityElement> userIdentities)
      Set up the list of user identities for this profile.
      Parameters:
      userIdentities - list of userIds
    • getSuperTeam

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getSuperTeam()
      Return a summary of the team that is above this team in the organizational hierarchy.
      Returns:
      team stub
    • setSuperTeam

      public void setSuperTeam(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub superTeam)
      Set up a summary of the team that is above this team in the organizational hierarchy.
      Parameters:
      superTeam - team stub
    • getSubTeams

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getSubTeams()
      Return the list of team that report to this team.
      Returns:
      list of team stubs
    • setSubTeams

      public void setSubTeams(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> subTeams)
      Set up the list of team that report to this team.
      Parameters:
      subTeams - list of team stubs
    • getTeamLeaderRoles

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getTeamLeaderRoles()
      Return the list of leader roles assigned to this team.
      Returns:
      list of role stubs
    • setTeamLeaderRoles

      public void setTeamLeaderRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> teamLeaderRoles)
      Set up the list of leader roles assigned to this team.
      Parameters:
      teamLeaderRoles - list of role stubs
    • getTeamMemberRoles

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getTeamMemberRoles()
      Return the list of member roles assigned to this team.
      Returns:
      list of role stubs
    • setTeamMemberRoles

      public void setTeamMemberRoles(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> teamMemberRoles)
      Set up the list of member roles assigned to this team.
      Parameters:
      teamMemberRoles - list of role stubs
    • getBusinessCapability

      public List<RelatedElement> getBusinessCapability()
      Return the business capability linked via the organizational capability relationship.
      Returns:
      list of capabilities
    • setBusinessCapability

      public void setBusinessCapability(List<RelatedElement> businessCapability)
      Set up the business capability linked via the organizational capability relationship.
      Parameters:
      businessCapability - list of capabilities
    • getLinkedInfrastructure

      public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getLinkedInfrastructure()
      Return the stubs of the pieces of IT infrastructure linked to the profile.
      Returns:
      list of element stubs
    • setLinkedInfrastructure

      public void setLinkedInfrastructure(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> linkedInfrastructure)
      Set up the stubs of the pieces of IT infrastructure linked to the profile.
      Parameters:
      linkedInfrastructure - list of element stubs
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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