|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.dbmain.jidbm.DBMGenericObject
com.dbmain.jidbm.DBMConcreteObject
com.dbmain.jidbm.DBMDataObject
com.dbmain.jidbm.DBMState
public class DBMState
The DBMState class represents state objects of the DB-MAIN repository.
A state can have several environments.
| Field Summary |
|---|
| Fields inherited from class com.dbmain.jidbm.DBMGenericObject |
|---|
ALLPARENTS, CLUSTER, CO_ATTRIBUTE, COLLECTION, CONNECTION, CONS_PU, CONS_RES, CONSTRAINT, CONSUMPTION, ELEMENT, ENTITY_TYPE, ENVIRONMENT, ETROUND, ETSHADOW, ETSQUARE, GRAPHCOUPLE, GROUP, HAVESEL, HIDEASSOCIATION, HIDEATT, HIDECTRLFLOW, HIDEEXTEND, HIDEGENACT, HIDEGENUC, HIDEGR, HIDEINCLUDE, HIDENEWADD, HIDENOTE, HIDEOBJFLOW, HIDEPRIMID, HIDEPROD, HIDEPU, HIDESTEREOTYPE, ISASTRAIGHT, LOCK_USED, MARK1, MARK2, MARK3, MARK4, MARK5, MEMBER_CST, META_OBJECT, META_PROPERTY, METH_USED, NN_NOTE, NOTE, PROC_UNIT, PROCESS_TITLE, PROD_SET, RE_ISA, REJECTED, REL_ELEMENT, REL_TYPE, RESOURCE, ROLE, RTROUND, RTSHADOW, RTSQUARE, SCHEMA, SELECT, SHOWTYPEATT, SI_ATTRIBUTE, STATE, SUB_TYPE, SYSTEM, TEXT, TEXT_LINE, UMLCENTER, UMLCENTERDOWN, UMLCENTERUP, UMLLEFTCENTER, UMLLEFTDOWN, UMLLEFTUP, UMLRIGHTCENTER, UMLRIGHTDOWN, UMLRIGHTUP, USER_OBJECT, USER_VIEW, WITHOUT_SELECT |
| Constructor Summary | |
|---|---|
DBMState(int id)
Creates a new instance of the DBMState class representing the state identified by id and the current project in DB-MAIN. |
|
DBMState(int id,
long sysid)
Creates a new instance of the DBMState class representing the state identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstEnvironment(DBMEnvironment cur)
Adds a first environment (cur) to the current state in the DB-MAIN repository. |
void |
addNextEnvironment(DBMEnvironment cur,
DBMEnvironment prev)
Adds a environment (cur) following the environment (prev) to the current state in the DB-MAIN repository. |
void |
deleteState()
Deletes the state of the DB-MAIN repository represented by the current DBMState instance. |
DBMEnvironment |
getFirstEnvironment()
Returns the first environment of the current state in the DB-MAIN repository. |
DBMGenericObject |
getGenericObject()
Returns the generic object of the current state. |
DBMEnvironment |
getLastEnvironment()
Returns the last environment of the current state in the DB-MAIN repository. |
DBMEnvironment |
getNextEnvironment(DBMEnvironment cur)
Returns the environment (of the current state) that follows the environment cur in the DB-MAIN repository. |
DBMEnvironment |
getPreviousEnvironment(DBMEnvironment cur)
Returns the environment (of the current state) that precedes the environment cur in the DB-MAIN repository. |
void |
removeEnvironment()
Removes the list of environment attached to the current state in the DB-MAIN repository. |
void |
removeGenericObject()
Removes the generic object attached to the current state in the DB-MAIN repository. |
| Methods inherited from class com.dbmain.jidbm.DBMConcreteObject |
|---|
deleteConcreteObject, getName, getQualifiedName, getSemanticDescription, getShortName, getTechnicalDescription, setName, setSemanticDescription, setShortName, setTechnicalDescription, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBMState(int id,
long sysid)
id - the object identifier of a state.sysid - the system identifier of a state.public DBMState(int id)
id - the object identifier of a state.| Method Detail |
|---|
public void deleteState()
public DBMEnvironment getFirstEnvironment()
public DBMEnvironment getLastEnvironment()
public DBMEnvironment getNextEnvironment(DBMEnvironment cur)
cur - the current environment.
public DBMEnvironment getPreviousEnvironment(DBMEnvironment cur)
cur - the current environment.
public void addFirstEnvironment(DBMEnvironment cur)
cur - the added environment.
public void addNextEnvironment(DBMEnvironment cur,
DBMEnvironment prev)
cur - the added environment.prev - the environment after which the environment cur is inserted.public void removeEnvironment()
public DBMGenericObject getGenericObject()
public void removeGenericObject()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||