Interface ElementBase
- All Known Implementing Classes:
CatalogInfo,FunctionInfo,SchemaInfo,TableInfo,VolumeInfo
public interface ElementBase
Common properties of an element returned from UC.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a comment describing the element within its name space.longReturn the time that the element was created.getName()Return the unique name of the element within its name space.longReturn the time that the element was last updated.voidsetComment(String comment) Set up a comment describing the element within its name space.voidsetCreated_at(long created_at) Set up the time that the element was created.voidSet up the unique name of the element within its name space.voidsetUpdated_at(long updated_at) Set up the time that the element was last updated.
-
Method Details
-
getName
String getName()Return the unique name of the element within its name space.- Returns:
- string
-
setName
Set up the unique name of the element within its name space.- Parameters:
name- string name
-
getComment
String getComment()Return a comment describing the element within its name space.- Returns:
- text
-
setComment
Set up a comment describing the element within its name space.- Parameters:
comment- text
-
getCreated_at
long getCreated_at()Return the time that the element was created.- Returns:
- date/time as long
-
setCreated_at
void setCreated_at(long created_at) Set up the time that the element was created.- Parameters:
created_at- date/time as long
-
getUpdated_at
long getUpdated_at()Return the time that the element was last updated.- Returns:
- date/time as long
-
setUpdated_at
void setUpdated_at(long updated_at) Set up the time that the element was last updated.- Parameters:
updated_at- date/time as long
-