Class StakeholderProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.StakeholderProperties
-
- All Implemented Interfaces:
Serializable
public class StakeholderProperties extends RelationshipProperties
StakeholderProperties provides a details of a stakeholder for an initiative.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StakeholderProperties()Default constructorStakeholderProperties(StakeholderProperties 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.StringgetStakeholderRole()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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
StakeholderProperties
public StakeholderProperties()
Default constructor
-
StakeholderProperties
public StakeholderProperties(StakeholderProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getStakeholderRole
public String getStakeholderRole()
Return the role of the stakeholder to the initiative.- Returns:
- role type
-
setStakeholderRole
public void setStakeholderRole(String stakeholderRole)
Set up the role of the stakeholder to the initiative.- Parameters:
stakeholderRole- role 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 hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-
-