Class ActionRequestBody
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
org.odpi.openmetadata.frameworks.openmetadata.search.AnchorOptions
org.odpi.openmetadata.commonservices.ffdc.rest.ActionRequestBody
ActionRequestBody provides a structure for passing action details over a REST API.
It is used for creating To Do, Meetings and engine action elements.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorActionRequestBody
(ActionRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the unique identifier of the sponsor of the action.Return the unique identifier of the action assigned to perform the work.Return any specific action targets for the action.Return the unique identifier of the element that originated the action.Return the properties of the action.int
hashCode()
Return hash code for this objectvoid
setActionSponsorGUID
(String actionSponsorGUID) Set up the unique identifier of the sponsor of the action.void
setAssignToActorGUID
(String assignToActorGUID) Set up the unique identifier of the action assigned to perform the work.void
setNewActionTargets
(List<NewActionTarget> newActionTargets) Set up any specific action targets for the action.void
setOriginatorGUID
(String originatorGUID) Set up the unique identifier of the element that originated the action.void
setProperties
(ActionProperties properties) Set up the properties of the action.toString()
JSON-style toString.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.AnchorOptions
getAnchorGUID, getAnchorScopeGUID, getIsOwnAnchor, setAnchorGUID, setAnchorScopeGUID, setIsOwnAnchor
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.MetadataSourceOptions
getExternalSourceGUID, getExternalSourceName, setExternalSourceGUID, setExternalSourceName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.search.BasicOptions
getEffectiveTime, getForDuplicateProcessing, getForLineage, getGovernanceZoneFilter, setEffectiveTime, setForDuplicateProcessing, setForLineage, setGovernanceZoneFilter
-
Constructor Details
-
ActionRequestBody
public ActionRequestBody()Default constructor -
ActionRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getNewActionTargets
Return any specific action targets for the action.- Returns:
- list
-
setNewActionTargets
Set up any specific action targets for the action.- Parameters:
newActionTargets
- list
-
getProperties
Return the properties of the action.- Returns:
- properties
-
setProperties
Set up the properties of the action.- Parameters:
properties
- properties
-
getOriginatorGUID
Return the unique identifier of the element that originated the action.- Returns:
- guid
-
setOriginatorGUID
Set up the unique identifier of the element that originated the action.- Parameters:
originatorGUID
- guid
-
getActionSponsorGUID
Return the unique identifier of the sponsor of the action.- Returns:
- guid
-
setActionSponsorGUID
Set up the unique identifier of the sponsor of the action.- Parameters:
actionSponsorGUID
- guid
-
getAssignToActorGUID
Return the unique identifier of the action assigned to perform the work.- Returns:
- guid
-
setAssignToActorGUID
Set up the unique identifier of the action assigned to perform the work.- Parameters:
assignToActorGUID
- guid
-
toString
JSON-style toString.- Overrides:
toString
in classAnchorOptions
- Returns:
- list of properties and their values.
-
equals
Equals method that returns true if containing properties are the same.- Overrides:
equals
in classAnchorOptions
- Parameters:
objectToCompare
- object to compare- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classAnchorOptions
- Returns:
- int hash code
-