Interface ElementBase
- All Known Implementing Classes:
CatalogInfo,FunctionInfo,ModelVersionInfo,RegisteredModelInfo,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.Return the userId that created the element.getName()Return the unique name of the element within its name space.getOwner()Return the owner of the element.longReturn the time that the element was last updated.Return the element that last updated the element.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.voidsetCreated_by(String created_by) Set up the userId that created the element.voidSet up the unique name of the element within its name space.voidSet up the owner of the element.voidsetUpdated_at(long updated_at) Set up the time that the element was last updated.voidsetUpdated_by(String updated_by) Set up the element that last updated the element.
-
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
-
getCreated_by
String getCreated_by()Return the userId that created the element.- Returns:
- string name
-
setCreated_by
Set up the userId that created the element.- Parameters:
created_by- string name
-
getUpdated_by
String getUpdated_by()Return the element that last updated the element.- Returns:
- string name
-
setUpdated_by
Set up the element that last updated the element.- Parameters:
updated_by- string name
-
getOwner
String getOwner()Return the owner of the element.- Returns:
- string name
-
setOwner
Set up the owner of the element.- Parameters:
owner- string name
-