Class AssignmentScopeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.AssignmentScopeProperties
-
- All Implemented Interfaces:
Serializable
public class AssignmentScopeProperties extends RelationshipProperties
AssignmentScopeProperties provides a details of the scope of work/influence expected by the assigned actor(s).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssignmentScopeProperties()Default constructorAssignmentScopeProperties(AssignmentScopeProperties 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.StringgetAssignmentType()Return the expectations with respect to the scope.StringgetDescription()Return additional descriptive text.inthashCode()Return hash code based on properties.voidsetAssignmentType(String assignmentType)Set up the expectations with respect to the scope.voidsetDescription(String description)Set up additional descriptive text.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.communityprofile.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
AssignmentScopeProperties
public AssignmentScopeProperties()
Default constructor
-
AssignmentScopeProperties
public AssignmentScopeProperties(AssignmentScopeProperties template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAssignmentType
public String getAssignmentType()
Return the expectations with respect to the scope.- Returns:
- type of assignment
-
setAssignmentType
public void setAssignmentType(String assignmentType)
Set up the expectations with respect to the scope.- Parameters:
assignmentType- type of assignment
-
getDescription
public String getDescription()
Return additional descriptive text.- Returns:
- text
-
setDescription
public void setDescription(String description)
Set up additional descriptive text.- Parameters:
description- text
-
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
-
-