Class TeamProfileElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.metadataelement.TeamProfileElement
-
- All Implemented Interfaces:
Serializable,MetadataElement
public class TeamProfileElement extends Object implements MetadataElement, Serializable
TeamProfileElement contains the properties and header for a team profile retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TeamProfileElement()Default constructorTeamProfileElement(TeamProfileElement template)Copy/clone constructor
-
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.ElementHeadergetElementHeader()Return the element header associated with the properties.TeamProfilePropertiesgetProperties()Return the properties from the team profile.List<ElementStub>getSubTeams()Return the list of unique identifiers (guids) for the teams that report to this team.ElementStubgetSuperTeam()Return the unique identifier (guid) of the team that this team reports to - null means top level team.inthashCode()Return hash code for this objectvoidsetElementHeader(ElementHeader elementHeader)Set up the element header associated with the properties.voidsetProperties(TeamProfileProperties properties)Set up the properties from the team profile.voidsetSubTeams(List<ElementStub> subTeams)Set up the list of unique identifiers (guids) for the teams that report to this team.voidsetSuperTeam(ElementStub superTeam)Set up the unique identifier (guid) of the team that this team reports to - null means top level team.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
TeamProfileElement
public TeamProfileElement()
Default constructor
-
TeamProfileElement
public TeamProfileElement(TeamProfileElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
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
-
getProperties
public TeamProfileProperties getProperties()
Return the properties from the team profile.- Returns:
- properties
-
setProperties
public void setProperties(TeamProfileProperties properties)
Set up the properties from the team profile.- Parameters:
properties- properties
-
getSuperTeam
public ElementStub getSuperTeam()
Return the unique identifier (guid) of the team that this team reports to - null means top level team.- Returns:
- description of linked profile
-
setSuperTeam
public void setSuperTeam(ElementStub superTeam)
Set up the unique identifier (guid) of the team that this team reports to - null means top level team.- Parameters:
superTeam- description of linked profile
-
getSubTeams
public List<ElementStub> getSubTeams()
Return the list of unique identifiers (guids) for the teams that report to this team.- Returns:
- list of descriptions of linked profiles
-
setSubTeams
public void setSubTeams(List<ElementStub> subTeams)
Set up the list of unique identifiers (guids) for the teams that report to this team.- Parameters:
subTeams- list of descriptions of linked profiles
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-