Class RelatedGovernanceActionElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.metadataelements.RelatedGovernanceActionElement
-
- All Implemented Interfaces:
Serializable
public class RelatedGovernanceActionElement extends Object implements Serializable
RelatedGovernanceActionElement contains the properties for a NextGovernanceAction relationship retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RelatedGovernanceActionElement()Default constructorRelatedGovernanceActionElement(RelatedGovernanceActionElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.StringgetGuard()Return the triggering guard (or null for any guard).booleangetIgnoreMultipleTriggers()Return whether this action type can be triggered more than once in a single step of the governance action process.booleangetMandatoryGuard()Return if the guard must be returned from the previous action for any of the next actions to progress.ElementStubgetRelatedAction()Return details of the next governance actionStringgetRelatedActionLinkGUID()Return the unique identifier of the relationship.inthashCode()Return hash code for this objectvoidsetGuard(String guard)Set up the triggering guard (or null for any guard).voidsetIgnoreMultipleTriggers(boolean ignoreMultipleTriggers)Set up whether this action type can be triggered more than once in a single step of the governance action process.voidsetMandatoryGuard(boolean mandatoryGuard)Set up if the guard must be returned from the previous action for any of the next actions to progress.voidsetRelatedAction(ElementStub relatedAction)Set up details of the next governance actionvoidsetRelatedActionLinkGUID(String relatedActionLinkGUID)Set up the unique identifier of the relationship.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
RelatedGovernanceActionElement
public RelatedGovernanceActionElement()
Default constructor
-
RelatedGovernanceActionElement
public RelatedGovernanceActionElement(RelatedGovernanceActionElement template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRelatedAction
public ElementStub getRelatedAction()
Return details of the next governance action- Returns:
- governance action type properties
-
setRelatedAction
public void setRelatedAction(ElementStub relatedAction)
Set up details of the next governance action- Parameters:
relatedAction- governance action type properties
-
getRelatedActionLinkGUID
public String getRelatedActionLinkGUID()
Return the unique identifier of the relationship.- Returns:
- string guid
-
setRelatedActionLinkGUID
public void setRelatedActionLinkGUID(String relatedActionLinkGUID)
Set up the unique identifier of the relationship.- Parameters:
relatedActionLinkGUID- string guid
-
getGuard
public String getGuard()
Return the triggering guard (or null for any guard).- Returns:
- string name
-
setGuard
public void setGuard(String guard)
Set up the triggering guard (or null for any guard).- Parameters:
guard- string name
-
getMandatoryGuard
public boolean getMandatoryGuard()
Return if the guard must be returned from the previous action for any of the next actions to progress.- Returns:
- boolean flag
-
setMandatoryGuard
public void setMandatoryGuard(boolean mandatoryGuard)
Set up if the guard must be returned from the previous action for any of the next actions to progress.- Parameters:
mandatoryGuard- boolean flag
-
getIgnoreMultipleTriggers
public boolean getIgnoreMultipleTriggers()
Return whether this action type can be triggered more than once in a single step of the governance action process.- Returns:
- boolean flag
-
setIgnoreMultipleTriggers
public void setIgnoreMultipleTriggers(boolean ignoreMultipleTriggers)
Set up whether this action type can be triggered more than once in a single step of the governance action process.- Parameters:
ignoreMultipleTriggers- boolean flag
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-