Class LineageSearchRequest

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

public class LineageSearchRequest extends Object
LineageSearchRequest describes the properties for a lineage search.
  • Constructor Details

    • LineageSearchRequest

      public LineageSearchRequest()
      Default constructor.
  • Method Details

    • getQueriedNode

      public LineageRequestNode getQueriedNode()
      Return the starting node.
      Returns:
      request node name and type
    • setQueriedNode

      public void setQueriedNode(LineageRequestNode queriedNode)
      Set up the starting node.
      Parameters:
      queriedNode - request node name and type
    • getRelatedNodes

      public List<LineageRequestNode> getRelatedNodes()
      Return the list of related nodes.
      Returns:
      list of node names and types
    • setRelatedNodes

      public void setRelatedNodes(List<LineageRequestNode> relatedNodes)
      Set up the list of related nodes.
      Parameters:
      relatedNodes - list of node names and types
    • 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