Class StakeholderProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.projects.StakeholderProperties
StakeholderProperties provides a details of a stakeholder for an initiative.
-
Constructor Summary
ConstructorDescriptionDefault constructorStakeholderProperties
(StakeholderProperties 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 role of the stakeholder to the initiative.int
hashCode()
Return hash code based on properties.void
setStakeholderRole
(String stakeholderRole) Set up the role of the stakeholder to the initiative.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
StakeholderProperties
public StakeholderProperties()Default constructor -
StakeholderProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getStakeholderRole
Return the role of the stakeholder to the initiative.- Returns:
- role type
-
setStakeholderRole
Set up the role of the stakeholder to the initiative.- Parameters:
stakeholderRole
- role 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
-