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 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 ElementHeader getRelationshipHeader()
      Return the header of the ActionTarget relationship.
      Returns:
      header
    • setRelationshipHeader

      public void setRelationshipHeader(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 OpenMetadataElement getTargetElement()
      Return details of the target element that the governance action service is to process.
      Returns:
      metadata element properties
    • setTargetElement

      public void setTargetElement(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