Class StakeholderProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.governance.StakeholderProperties
StakeholderProperties provides a details of a stakeholder for an initiative.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorStakeholderProperties(StakeholderProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the role of the stakeholder to the initiative.inthashCode()Return hash code based on properties.voidsetStakeholderRole(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:
toStringin 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:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-