Class VolumeInfo
java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.StoredDataProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.VolumeProperties
org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.VolumeInfo
- All Implemented Interfaces:
ElementBase
Description of a volume. These are the values that are returned from UC.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.longReturn the time that the element was created.Return the fully qualified name of the volume.longReturn the time that the element was last updated.Return the internal identifier of the volume.inthashCode()Return hash code based on properties.voidsetCreated_at(long created_at) Set up the time that the element was created.voidsetFull_name(String full_name) Set up the full qualified name of the volume.voidsetUpdated_at(long updated_at) Set up the time that the element was last updated.voidsetVolume_id(String volume_id) Set up the internal identifier of the volume.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.VolumeProperties
getVolume_type, setVolume_typeMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.StoredDataProperties
getStorage_location, setStorage_locationMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.SchemaNamespaceProperties
getSchema_name, setSchema_nameMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.CatalogNamespaceProperties
getCatalog_name, setCatalog_nameMethods inherited from class org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.BasicElementProperties
getComment, getName, setComment, setNameMethods inherited from interface org.odpi.openmetadata.adapters.connectors.unitycatalog.properties.ElementBase
getComment, getName, setComment, setName
-
Constructor Details
-
VolumeInfo
public VolumeInfo()Constructor
-
-
Method Details
-
getCreated_at
public long getCreated_at()Return the time that the element was created.- Specified by:
getCreated_atin 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_atin 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_atin 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_atin interfaceElementBase- Parameters:
updated_at- date/time as long
-
getVolume_id
Return the internal identifier of the volume.- Returns:
- string
-
setVolume_id
Set up the internal identifier of the volume.- Parameters:
volume_id- string
-
getFull_name
Return the fully qualified name of the volume.- Returns:
- string
-
setFull_name
Set up the full qualified name of the volume.- Parameters:
full_name- string
-
toString
Standard toString method.- Overrides:
toStringin classVolumeProperties- 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 classVolumeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classVolumeProperties- Returns:
- int
-