Package com.exasol.dbbuilder
Class AbstractDatabaseObject
- java.lang.Object
-
- com.exasol.dbbuilder.AbstractDatabaseObject
-
- All Implemented Interfaces:
DatabaseObject
- Direct Known Subclasses:
AbstractSchemaChild,ConnectionDefinition,Schema,User,VirtualSchema
public abstract class AbstractDatabaseObject extends Object implements DatabaseObject
Base class for database objects.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringnameprotected DatabaseObjectWriterwriter
-
Constructor Summary
Constructors Constructor Description AbstractDatabaseObject(DatabaseObjectWriter writer, String name)Create a database object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFullyQualifiedName()Get the name including the parent object names.StringgetName()Get the name of the database object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.exasol.dbbuilder.DatabaseObject
getParent, getType, hasParent
-
-
-
-
Field Detail
-
writer
protected DatabaseObjectWriter writer
-
name
protected String name
-
-
Constructor Detail
-
AbstractDatabaseObject
public AbstractDatabaseObject(DatabaseObjectWriter writer, String name)
Create a database object.- Parameters:
writer- writer that makes the object persistent.name- name of the database object
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:DatabaseObjectGet the name of the database object.- Specified by:
getNamein interfaceDatabaseObject- Returns:
- object name
-
getFullyQualifiedName
public String getFullyQualifiedName()
Description copied from interface:DatabaseObjectGet the name including the parent object names.- Specified by:
getFullyQualifiedNamein interfaceDatabaseObject- Returns:
- fully qualified name
-
-