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

public class BasicElementProperties extends BasicProperties
Common properties of an element (Catalog, Schema, Volume, Table, Function) stored in Unity catalog.
  • Constructor Details

    • BasicElementProperties

      public BasicElementProperties()
      Constructor
  • Method Details

    • getMetastore_id

      public String getMetastore_id()
      Return the guid is the associated hive metastore.
      Returns:
      guid
    • setMetastore_id

      public void setMetastore_id(String metastore_id)
      Set up the guid is the associated hive metastore.
      Parameters:
      metastore_id - string guid
    • getSecurable_type

      public String getSecurable_type()
      Return the type of securable element - eg SCHEMA.
      Returns:
      string name
    • setSecurable_type

      public void setSecurable_type(String securable_type)
      Set up the type of securable element - eg SCHEMA.
      Parameters:
      securable_type - string name
    • getSecurable_kind

      public String getSecurable_kind()
      Return the kind of securable element eg SCHEMA_STANDARD.
      Returns:
      string name
    • setSecurable_kind

      public void setSecurable_kind(String securable_kind)
      Set up the kind of securable element eg SCHEMA_STANDARD.
      Parameters:
      securable_kind - string name
    • getOwner

      public String getOwner()
      Return the owner of the element.
      Returns:
      string name
    • setOwner

      public void setOwner(String owner)
      Set up the owner of the element.
      Parameters:
      owner - string name
    • isBrowse_only

      public boolean isBrowse_only()
      Return whether this element is read only or not.
      Returns:
      boolean flag
    • setBrowse_only

      public void setBrowse_only(boolean browse_only)
      Set up whether this element is read only or not.
      Parameters:
      browse_only - boolean flag
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class BasicProperties
      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 BasicProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class BasicProperties
      Returns:
      int