Class CatalogInfo
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
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogInfo
- All Implemented Interfaces:
ElementBase
Description of a catalog. These are the values that are returned from UC.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.long
Return the time that the element was created.Return the userId that created the element.getId()
Return the internal identifier of the catalog.long
Return the time that the element was last updated.Return the element that last updated the element.int
hashCode()
Return hash code based on properties.void
setCreated_at
(long created_at) Set up the time that the element was created.void
setCreated_by
(String created_by) Set up the userId that created the element.void
Set up the internal identifier of the catalog.void
setUpdated_at
(long updated_at) Set up the time that the element was last updated.void
setUpdated_by
(String updated_by) Set up the element that last updated the element.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogProperties
getIsolation_mode, isAccessible_in_current_workspace, setAccessible_in_current_workspace, setIsolation_mode
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.ElementBase
getComment, getName, getOwner, setComment, setName, setOwner
-
Constructor Details
-
CatalogInfo
public CatalogInfo()Constructor
-
-
Method Details
-
getCreated_at
public long getCreated_at()Return the time that the element was created.- Specified by:
getCreated_at
in interfaceElementBase
- Returns:
- date/time as long
-
setCreated_at
public void setCreated_at(long created_at) Set up the time that the element was created.- Specified by:
setCreated_at
in interfaceElementBase
- Parameters:
created_at
- date/time as long
-
getUpdated_at
public long getUpdated_at()Return the time that the element was last updated.- Specified by:
getUpdated_at
in interfaceElementBase
- Returns:
- date/time as long
-
setUpdated_at
public void setUpdated_at(long updated_at) Set up the time that the element was last updated.- Specified by:
setUpdated_at
in interfaceElementBase
- Parameters:
updated_at
- date/time as long
-
getCreated_by
Return the userId that created the element.- Specified by:
getCreated_by
in interfaceElementBase
- Returns:
- string name
-
setCreated_by
Set up the userId that created the element.- Specified by:
setCreated_by
in interfaceElementBase
- Parameters:
created_by
- string name
-
getUpdated_by
Return the element that last updated the element.- Specified by:
getUpdated_by
in interfaceElementBase
- Returns:
- string name
-
setUpdated_by
Set up the element that last updated the element.- Specified by:
setUpdated_by
in interfaceElementBase
- Parameters:
updated_by
- string name
-
getId
Return the internal identifier of the catalog.- Returns:
- string
-
setId
Set up the internal identifier of the catalog.- Parameters:
id
- string
-
toString
Standard toString method.- Overrides:
toString
in classCatalogProperties
- 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 classCatalogProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classCatalogProperties
- Returns:
- int
-