java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.metadataelements.ActionTargetElement

public class ActionTargetElement extends Object
ActionTargetElement describes an element that a person owning a "To Do" 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.connectors.properties.beans.ElementHeader
    Return the header of the ActionTarget relationship.
    Return the properties of the ActionTarget relationship.
    org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement
    Return details of the target element that the governance action service is to process.
    int
    Create a hash code for this element type.
    void
    setRelationshipHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader relationshipHeader)
    Set up the header of the ActionTarget relationship.
    void
    Set up the properties of the ActionTarget relationship.
    void
    setTargetElement(org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement targetElement)
    Set up details of the target element that the governance action service is to process.
    Standard toString method.

    Methods inherited from class java.lang.Object

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

    • ActionTargetElement

      public ActionTargetElement()
      Typical Constructor
    • ActionTargetElement

      public ActionTargetElement(ActionTargetElement 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

    • getRelationshipHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getRelationshipHeader()
      Return the header of the ActionTarget relationship.
      Returns:
      header
    • setRelationshipHeader

      public void setRelationshipHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader relationshipHeader)
      Set up the header of the ActionTarget relationship.
      Parameters:
      relationshipHeader - header
    • getRelationshipProperties

      public ActionTargetProperties getRelationshipProperties()
      Return the properties of the ActionTarget relationship.
      Returns:
      properties
    • setRelationshipProperties

      public void setRelationshipProperties(ActionTargetProperties relationshipProperties)
      Set up the properties of the ActionTarget relationship.
      Parameters:
      relationshipProperties - properties
    • getTargetElement

      public org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement getTargetElement()
      Return details of the target element that the governance action service is to process.
      Returns:
      metadata element properties
    • setTargetElement

      public void setTargetElement(org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataElement targetElement)
      Set up details of the target element that the governance action service is to process.
      Parameters:
      targetElement - metadata element properties
    • 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