Class ElementHierarchyRequest

java.lang.Object
org.odpi.openmetadata.viewservices.assetcatalog.rest.ElementHierarchyRequest

public class ElementHierarchyRequest extends Object
  • Constructor Details

    • ElementHierarchyRequest

      public ElementHierarchyRequest()
      Default constructor
  • Method Details

    • getGuid

      public String getGuid()
      Return the unique identifier of the starting node.
      Returns:
      string guid
    • setGuid

      public void setGuid(String guid)
      Set up the unique identifier of the starting node.
      Parameters:
      guid - string guid
    • getHierarchyType

      public HierarchyType getHierarchyType()
      Return the direction of the request.
      Returns:
      hierarchy type enum
    • setHierarchyType

      public void setHierarchyType(HierarchyType hierarchyType)
      Set up the direction of the request.
      Parameters:
      hierarchyType - hierarch type enum
    • 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()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int