java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.Dependency

public class Dependency extends Object
Describes a dependency of a SQL object. Either the __table__ field or the __function__ field must be defined.
  • Constructor Details

    • Dependency

      public Dependency()
      Constructor
  • Method Details

    • getTable

      public TableDependency getTable()
      Return the table dependency.
      Returns:
      dependency
    • setTable

      public void setTable(TableDependency table)
      Set upi the table dependency.
      Parameters:
      table - dependency
    • getFunction

      public FunctionDependency getFunction()
      Return the function dependency.
      Returns:
      dependency
    • setFunction

      public void setFunction(FunctionDependency function)
      Set up the function dependency.
      Parameters:
      function - dependency
    • 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