org.h2.schema
Interface SchemaObject

All Superinterfaces:
DbObject
All Known Subinterfaces:
Index
All Known Implementing Classes:
BaseIndex, Constant, Constraint, ConstraintCheck, ConstraintReferential, ConstraintUnique, FunctionAlias, FunctionIndex, FunctionTable, HashIndex, LinkedIndex, MetaIndex, MetaTable, MultiVersionIndex, NonUniqueHashIndex, PageBtreeIndex, PageDataIndex, PageDelegateIndex, PageIndex, RangeIndex, RangeTable, RegularTable, ScanIndex, SchemaObjectBase, Sequence, Table, TableBase, TableLink, TableView, TreeIndex, TriggerObject, ViewIndex

public interface SchemaObject
extends DbObject

Any database object that is stored in a schema.


Field Summary
 
Fields inherited from interface org.h2.engine.DbObject
AGGREGATE, COMMENT, CONSTANT, CONSTRAINT, FUNCTION_ALIAS, INDEX, RIGHT, ROLE, SCHEMA, SEQUENCE, SETTING, TABLE_OR_VIEW, TRIGGER, USER, USER_DATATYPE
 
Method Summary
 Schema getSchema()
          Get the schema in which this object is defined
 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.
 
Methods inherited from interface org.h2.engine.DbObject
checkRename, getChildren, getComment, getCreateSQL, getCreateSQLForCopy, getDatabase, getDropSQL, getId, getModificationId, getName, getSQL, getType, isTemporary, removeChildrenAndResources, rename, setComment, setModified, setTemporary
 

Method Detail

getSchema

Schema getSchema()
Get the schema in which this object is defined

Returns:
the schema

isHidden

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.

Returns:
true if it is hidden