Class CatalogProperties
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogProperties
- Direct Known Subclasses:
CatalogInfo
Description of the properties to pass when creating a catalog - maps to CreateCatalog.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the type of isolation - eg OPEN.int
hashCode()
Return hash code based on properties.boolean
Return whether accessible to this user.void
setAccessible_in_current_workspace
(boolean accessible_in_current_workspace) Set up whether accessible to this user.void
setIsolation_mode
(String isolation_mode) Set up the type of isolation - eg OPEN.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
getMetastore_id, getOwner, getSecurable_kind, getSecurable_type, isBrowse_only, setBrowse_only, setMetastore_id, setOwner, setSecurable_kind, setSecurable_type
Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicProperties
getComment, getName, setComment, setName
-
Constructor Details
-
CatalogProperties
public CatalogProperties()
-
-
Method Details
-
getIsolation_mode
Return the type of isolation - eg OPEN.- Returns:
- string
-
setIsolation_mode
Set up the type of isolation - eg OPEN.- Parameters:
isolation_mode
- string
-
isAccessible_in_current_workspace
public boolean isAccessible_in_current_workspace()Return whether accessible to this user.- Returns:
- boolean flag
-
setAccessible_in_current_workspace
public void setAccessible_in_current_workspace(boolean accessible_in_current_workspace) Set up whether accessible to this user.- Parameters:
accessible_in_current_workspace
- boolean flag
-
toString
Standard toString method.- Overrides:
toString
in classBasicElementProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classBasicElementProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classBasicElementProperties
- Returns:
- int
-