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

public class ActorProfileElement extends Object implements MetadataElement
The ActorProfileElement describes an individual, system, team or organization.
  • 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 ElementHeader getElementHeader()
      Return the element header associated with the properties.
      Specified by:
      getElementHeader in interface MetadataElement
      Returns:
      element header object
    • setElementHeader

      public void setElementHeader(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<ElementStub> getPersonRoles()
      Return the headers of the person roles that this actor is appointed to.
      Returns:
      role stubs
    • setPersonRoles

      public void setPersonRoles(List<ElementStub> personRoles)
      Set up the headers of the person roles that this actor is appointed to.
      Parameters:
      personRoles - role stubs
    • 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
    • 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 ElementStub getSuperTeam()
      Return a summary of the team that is above this team in the organizational hierarchy.
      Returns:
      team stub
    • setSuperTeam

      public void setSuperTeam(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<ElementStub> getSubTeams()
      Return the list of team that report to this team.
      Returns:
      list of team stubs
    • setSubTeams

      public void setSubTeams(List<ElementStub> subTeams)
      Set up the list of team that report to this team.
      Parameters:
      subTeams - list of team stubs
    • getTeamLeaderRoles

      public List<ElementStub> getTeamLeaderRoles()
      Return the list of leader roles assigned to this team.
      Returns:
      list of role stubs
    • setTeamLeaderRoles

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

      public List<ElementStub> getTeamMemberRoles()
      Return the list of member roles assigned to this team.
      Returns:
      list of role stubs
    • setTeamMemberRoles

      public void setTeamMemberRoles(List<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<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<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