Class NextGovernanceActionTypeElement

  • All Implemented Interfaces:
    Serializable

    public class NextGovernanceActionTypeElement
    extends Object
    implements Serializable
    NextGovernanceActionTypeElement contains the properties and header for a governance action type entity plus the properties of a NextGovernanceActionType relationship retrieved from the metadata repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • NextGovernanceActionTypeElement

        public NextGovernanceActionTypeElement()
        Default constructor
      • NextGovernanceActionTypeElement

        public NextGovernanceActionTypeElement​(NextGovernanceActionTypeElement template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getNextActionType

        public GovernanceActionTypeElement getNextActionType()
        Return details of the next governance action type
        Returns:
        governance action type properties
      • setNextActionType

        public void setNextActionType​(GovernanceActionTypeElement nextActionType)
        Set up details of the next governance action type
        Parameters:
        nextActionType - governance action type properties
      • getNextActionLinkGUID

        public String getNextActionLinkGUID()
        Return the unique identifier of the relationship.
        Returns:
        string guid
      • setNextActionLinkGUID

        public void setNextActionLinkGUID​(String nextActionLinkGUID)
        Set up the unique identifier of the relationship.
        Parameters:
        nextActionLinkGUID - 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
      • toString

        public String toString()
        JSON-style toString
        Overrides:
        toString in class Object
        Returns:
        return string containing the property names and values
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object
        Returns:
        int hash code