Class ProjectTeamProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectTeamProperties
ProjectTeamProperties provides a details of the purpose (and privileges) of the membership role.
-
Constructor Summary
ConstructorDescriptionDefault constructorProjectTeamProperties
(ProjectTeamProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the membership type.int
hashCode()
Return hash code based on properties.void
setTeamRole
(String teamRole) Set up the membership type.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ProjectTeamProperties
public ProjectTeamProperties()Default constructor -
ProjectTeamProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getTeamRole
Return the membership type.- Returns:
- membership type
-
setTeamRole
Set up the membership type.- Parameters:
teamRole
- membership type
-
toString
JSON-style toString- Overrides:
toString
in classRelationshipProperties
- Returns:
- return string containing the property names and values
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-