Class PredefinedActionTarget

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.PredefinedActionTarget

public class PredefinedActionTarget extends Object
PredefinedActionTarget identifies an element that a governance action should process.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Typical Constructor
    Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataElementStub
    Return the details for this action target.
    Return the name assigned to this action target.
    int
    Create a hash code for this element type.
    void
    setActionTargetElementStub(org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataElementStub actionTargetElementStub)
    Set up the details for this action target.
    void
    setActionTargetName(String actionTargetName)
    Set up the name assigned to this action target.
    Standard toString method.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PredefinedActionTarget

      public PredefinedActionTarget()
      Typical Constructor
    • PredefinedActionTarget

      public PredefinedActionTarget(PredefinedActionTarget template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
  • Method Details

    • getActionTargetName

      public String getActionTargetName()
      Return the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.
      Returns:
      string name
    • setActionTargetName

      public void setActionTargetName(String actionTargetName)
      Set up the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.
      Parameters:
      actionTargetName - string name
    • getActionTargetElementStub

      public org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataElementStub getActionTargetElementStub()
      Return the details for this action target.
      Returns:
      stub
    • setActionTargetElementStub

      public void setActionTargetElementStub(org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataElementStub actionTargetElementStub)
      Set up the details for this action target.
      Parameters:
      actionTargetElementStub - stub
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class Object
      Returns:
      int hash code