Class ProjectTeamProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.projectmanagement.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.projectmanagement.properties.ProjectTeamProperties
-
- All Implemented Interfaces:
Serializable
public class ProjectTeamProperties extends RelationshipProperties
ProjectTeamProperties provides a details of the purpose (and privileges) of the membership role.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectTeamProperties()Default constructorProjectTeamProperties(ProjectTeamProperties template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetTeamRole()Return the membership type.inthashCode()Return has code based on properties.voidsetTeamRole(String teamRole)Set up the membership type.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.projectmanagement.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
ProjectTeamProperties
public ProjectTeamProperties()
Default constructor
-
ProjectTeamProperties
public ProjectTeamProperties(ProjectTeamProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getTeamRole
public String getTeamRole()
Return the membership type.- Returns:
- membership type
-
setTeamRole
public void setTeamRole(String teamRole)
Set up the membership type.- Parameters:
teamRole- membership type
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classRelationshipProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-