Class TeamProfileElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.TeamProfileElement
- All Implemented Interfaces:
MetadataElement
TeamProfileElement contains the properties and header for a team profile retrieved from the metadata repository.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorTeamProfileElement(TeamProfileElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the element header associated with the properties.Return the properties from the team profile.Return the list of unique identifiers (guids) for the teams that report to this team.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.toString()JSON-style toString
-
Constructor Details
-
TeamProfileElement
public TeamProfileElement()Default constructor -
TeamProfileElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeaderin interfaceMetadataElement- Parameters:
elementHeader- element header object
-
getProperties
Return the properties from the team profile.- Returns:
- properties
-
setProperties
Set up the properties from the team profile.- Parameters:
properties- properties
-
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
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
Return the list of unique identifiers (guids) for the teams that report to this team.- Returns:
- list of descriptions of linked profiles
-
setSubTeams
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
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-