public abstract class SchemaObjectBase extends DbObjectBase implements SchemaObject
comment, database, trace
AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE
Constructor and Description |
---|
SchemaObjectBase() |
Modifier and Type | Method and Description |
---|---|
Schema |
getSchema()
Get the schema in which this object is defined
|
String |
getSQL()
Get the SQL name of this object (may be quoted).
|
protected void |
initSchemaObjectBase(Schema newSchema,
int id,
String name,
String traceModule)
Initialize some attributes of this object.
|
boolean |
isHidden()
Check whether this is a hidden object that doesn't appear in the meta
data and in the script, and is not dropped on DROP ALL OBJECTS.
|
checkRename, getChildren, getComment, getCreateSQL, getDatabase, getDropSQL, getId, getModificationId, getName, initDbObjectBase, invalidate, isTemporary, removeChildrenAndResources, rename, setComment, setModified, setObjectName, setTemporary, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkRename, getChildren, getComment, getCreateSQL, getCreateSQLForCopy, getDatabase, getDropSQL, getId, getName, getType, isTemporary, removeChildrenAndResources, rename, setComment, setTemporary
protected void initSchemaObjectBase(Schema newSchema, int id, String name, String traceModule)
newSchema
- the schemaid
- the object idname
- the nametraceModule
- the trace module namepublic Schema getSchema()
SchemaObject
getSchema
in interface SchemaObject
public String getSQL()
DbObject
getSQL
in interface DbObject
getSQL
in class DbObjectBase
public boolean isHidden()
SchemaObject
isHidden
in interface SchemaObject
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.