Class TeamProfileProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.TeamProfileProperties
-
- All Implemented Interfaces:
Serializable
public class TeamProfileProperties extends ActorProfileProperties
The TeamProfileProperties describes an team of people. Information about the team is stored as a Team entity in the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TeamProfileProperties()Default ConstructorTeamProfileProperties(TeamProfileProperties template)Copy/clone Constructor - the resulting object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Equals method that returns true if containing properties are the same.StringgetTeamType()Return the type of team.inthashCode()Just use the GUID for the hash code as it should be unique.voidsetTeamType(String teamType)Set up the type of team.StringtoString()JSON-style toString.-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ActorProfileProperties
getDescription, getKnownName, setDescription, setKnownName
-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.ReferenceableProperties
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
-
-
-
Constructor Detail
-
TeamProfileProperties
public TeamProfileProperties()
Default Constructor
-
TeamProfileProperties
public TeamProfileProperties(TeamProfileProperties template)
Copy/clone Constructor - the resulting object.- Parameters:
template- object being copied
-
-
Method Detail
-
getTeamType
public String getTeamType()
Return the type of team.- Returns:
- string name
-
setTeamType
public void setTeamType(String teamType)
Set up the type of team.- Parameters:
teamType- string name
-
toString
public String toString()
JSON-style toString.- Overrides:
toStringin classActorProfileProperties- Returns:
- list of properties and their values.
-
equals
public boolean equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.- Overrides:
equalsin classActorProfileProperties- Parameters:
objectToCompare- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Just use the GUID for the hash code as it should be unique.- Overrides:
hashCodein classActorProfileProperties- Returns:
- int code
-
-