|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.h2.engine.DbObjectBase
org.h2.engine.Setting
public class Setting
A persistent database setting.
| Field Summary |
|---|
| Fields inherited from class org.h2.engine.DbObjectBase |
|---|
comment, database, trace |
| 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 |
| Constructor Summary | |
|---|---|
Setting(Database database,
int id,
java.lang.String settingName)
|
|
| Method Summary | |
|---|---|
void |
checkRename()
Check if this object can be renamed. |
java.lang.String |
getCreateSQL()
Build a SQL statement to re-create this object. |
java.lang.String |
getCreateSQLForCopy(Table table,
java.lang.String quotedName)
Build a SQL statement to re-create the object, or to create a copy of the object with a different name or referencing a different table |
java.lang.String |
getDropSQL()
Build a SQL statement to drop this object. |
int |
getIntValue()
|
java.lang.String |
getStringValue()
|
int |
getType()
Get the object type. |
void |
removeChildrenAndResources(Session session)
Remove all dependent objects and free all resources (files, blocks in files) of this object. |
void |
setIntValue(int value)
|
void |
setStringValue(java.lang.String value)
|
| Methods inherited from class org.h2.engine.DbObjectBase |
|---|
getChildren, getComment, getDatabase, getHeadPos, getId, getModificationId, getName, getSQL, initDbObjectBase, invalidate, isTemporary, rename, setComment, setModified, setObjectName, setTemporary, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Setting(Database database,
int id,
java.lang.String settingName)
| Method Detail |
|---|
public void setIntValue(int value)
public int getIntValue()
public void setStringValue(java.lang.String value)
public java.lang.String getStringValue()
public java.lang.String getCreateSQLForCopy(Table table,
java.lang.String quotedName)
DbObjectBase
getCreateSQLForCopy in interface DbObjectgetCreateSQLForCopy in class DbObjectBasetable - the new table namequotedName - the new quoted name
public java.lang.String getDropSQL()
DbObjectBase
getDropSQL in interface DbObjectgetDropSQL in class DbObjectBasepublic java.lang.String getCreateSQL()
DbObjectBase
getCreateSQL in interface DbObjectgetCreateSQL in class DbObjectBasepublic int getType()
DbObjectBase
getType in interface DbObjectgetType in class DbObjectBase
public void removeChildrenAndResources(Session session)
throws java.sql.SQLException
DbObjectBase
removeChildrenAndResources in interface DbObjectremoveChildrenAndResources in class DbObjectBasesession - the session
java.sql.SQLException
public void checkRename()
throws java.sql.SQLException
DbObjectBase
checkRename in interface DbObjectcheckRename in class DbObjectBasejava.sql.SQLException - if renaming is not allowed
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||