Class ActorProfileElement
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActorProfileElement()Default ConstructorActorProfileElement(ActorProfileElement template)Copy/clone Constructor - the resulting object.
-
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 contact methods for this profile.ContributionRecordElementgetContributionRecord()Return the contribution record (only if this profile is for a person).ElementHeadergetElementHeader()Return the element header associated with the properties.List<ElementStub>getLinkedInfrastructure()Return the stubs of the pieces of IT infrastructure linked to the profile.List<ElementStub>getPersonRoles()Return the headers of the person roles that this actor is appointed to.ActorProfilePropertiesgetProfileProperties()Return the properties of the profile.List<ElementStub>getSubTeams()Return the list of team that report to this team.ElementStubgetSuperTeam()Return a summary of the team that is above this team in the organizational hierarchy.List<ElementStub>getTeamLeaderRoles()Return the list of leader roles assigned to this team.List<ElementStub>getTeamMemberRoles()Return the list of member roles assigned to this team.List<ProfileIdentityElement>getUserIdentities()Return the list of user identities for this profile.inthashCode()Return hash code for this objectvoidsetContactMethods(List<ContactMethodElement> contactMethods)Set up the contact methods for this profile.voidsetContributionRecord(ContributionRecordElement contributionRecord)Set up the contribution record (only if this profile is for a person).voidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetLinkedInfrastructure(List<ElementStub> linkedInfrastructure)Set up the stubs of the pieces of IT infrastructure linked to the profile.voidsetPersonRoles(List<ElementStub> personRoles)Set up the headers of the person roles that this actor is appointed to.voidsetProfileProperties(ActorProfileProperties profileProperties)Set up the profile properties.voidsetSubTeams(List<ElementStub> subTeams)Set up the list of team that report to this team.voidsetSuperTeam(ElementStub superTeam)Set up a summary of the team that is above this team in the organizational hierarchy.voidsetTeamLeaderRoles(List<ElementStub> teamLeaderRoles)Set up the list of leader roles assigned to this team.voidsetTeamMemberRoles(List<ElementStub> teamMemberRoles)Set up the list of member roles assigned to this team.voidsetUserIdentities(List<ProfileIdentityElement> userIdentities)Set up the list of user identities for this profile.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
ActorProfileElement
public ActorProfileElement()
Default Constructor
-
ActorProfileElement
public ActorProfileElement(ActorProfileElement template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getElementHeader
public ElementHeader getElementHeader()
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- 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 stub
-
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
-
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
-
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
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-