Class TeamProfileElement
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.TeamProfileElement
- All Implemented Interfaces:
Serializable
,MetadataElement
TeamProfileElement contains the properties and header for a team profile retrieved from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorTeamProfileElement
(TeamProfileElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return 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.int
hashCode()
Return hash code for this objectvoid
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setProperties
(TeamProfileProperties properties) Set up the properties from the team profile.void
setSubTeams
(List<ElementStub> subTeams) Set up the list of unique identifiers (guids) for the teams that report to this team.void
setSuperTeam
(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:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in 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
-