java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicProperties
Direct Known Subclasses:
BasicElementProperties

public class BasicProperties extends Object
Common properties of an object stored in Unity catalog.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • 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.
    Return a comment describing the element within its name space.
    Return the unique name of the element within its name space.
    int
    Return hash code based on properties.
    void
    setComment(String comment)
    Set up a comment describing the element within its name space.
    void
    Set up the unique name of the element within its name space.
    Standard toString method.

    Methods inherited from class java.lang.Object

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

    • BasicProperties

      public BasicProperties()
      Constructor
  • Method Details

    • getName

      public String getName()
      Return the unique name of the element within its name space.
      Returns:
      string
    • setName

      public void setName(String name)
      Set up the unique name of the element within its name space.
      Parameters:
      name - string name
    • getComment

      public String getComment()
      Return a comment describing the element within its name space.
      Returns:
      text
    • setComment

      public void setComment(String comment)
      Set up a comment describing the element within its name space.
      Parameters:
      comment - text
    • 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