|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISchemaObjectImmutableModel
The immutable model is used to keep the original status of the schema object which is being edited.
Since the model may consist of more than one object, the consumer can divide their model into main object and
additional objects.
After the refreshFromDB()
is called, the main object and additional objects should all be refreshed.
Method Summary | |
---|---|
java.util.Map |
getAdditionalSQLObjects()
Returns the additional SQL objects, for example, the privileges of the table |
SQLObject |
getMainSQLObject()
Returns the main SQL object referenced by this model, for example, the table |
boolean |
isModelExist()
Check immutable model existence |
void |
refreshFromDB(java.lang.String newName)
Refreshes the referenced SQL objects to make them synchronized with DB |
Method Detail |
---|
SQLObject getMainSQLObject()
java.util.Map getAdditionalSQLObjects()
void refreshFromDB(java.lang.String newName)
newName
- the name of the main objectboolean isModelExist()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |