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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the type of isolation - eg OPEN.inthashCode()Return hash code based on properties.booleanReturn whether accessible to this user.voidsetAccessible_in_current_workspace(boolean accessible_in_current_workspace) Set up whether accessible to this user.voidsetIsolation_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_typeMethods 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:
toStringin 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:
equalsin classBasicElementProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classBasicElementProperties- Returns:
- int
-