|
||||||||
| 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.DBMProcessingUnit
public class DBMProcessingUnit
The DBMProcessingUnit class represents processing unit objects of the DB-MAIN repository.
A processing unit can have several elements, environments, elements and processing unit cardinalitys.
| Field Summary | |
|---|---|
static char |
DECISION_MODE_PU
Constant of field mode: Decision state. |
static char |
FINAL_MODE_PU
Constant of field mode: Final state. |
static char |
HOR_SYNC_MODE_PU
Constant of field mode: Horizontal synchronisation bar. |
static char |
INITIAL_MODE_PU
Constant of field mode: Initial state. |
static char |
METHOD_TYPE_PU
Constant of field type: Method type. |
static char |
PREDICAT_TYPE_PU
Constant of field type: Predicat type. |
static char |
PROCEDURE_TYPE_PU
Constant of field type: Procedure type. |
static char |
SIGNAL_REC_MODE_PU
Constant of field mode: Signal receipt. |
static char |
SIGNAL_SEND_MODE_PU
Constant of field mode: Signal sending. |
static char |
TRIGGER_TYPE_PU
Constant of field type: Trigger type. |
static char |
VER_SYNC_MODE_PU
Constant of field mode: Vertical synchronisation bar. |
| 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 | |
|---|---|
DBMProcessingUnit(int id)
Creates a new instance of the DBMProcessingUnit class representing the processing unit identified by id and the current project in DB-MAIN. |
|
DBMProcessingUnit(int id,
long sysid)
Creates a new instance of the DBMProcessingUnit class representing the processing unit identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstEnvironment(DBMEnvironment cur)
Adds a first environment (cur) to the current processing unit in the DB-MAIN repository. |
void |
addFirstInvokeElement(DBMElement cur)
Adds a first element (cur) to the current processing unit in the DB-MAIN repository. |
void |
addFirstMadeOfElement(DBMElement cur)
Adds a first element (cur) to the current processing unit in the DB-MAIN repository. |
void |
addFirstProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
Adds a first processing unit cardinality (cur) to the current processing unit in the DB-MAIN repository. |
void |
addNextEnvironment(DBMEnvironment cur,
DBMEnvironment prev)
Adds a environment (cur) following the environment (prev) to the current processing unit in the DB-MAIN repository. |
void |
addNextInvokeElement(DBMElement cur,
DBMElement prev)
Adds a element (cur) following the element (prev) to the current processing unit in the DB-MAIN repository. |
void |
addNextMadeOfElement(DBMElement cur,
DBMElement prev)
Adds a element (cur) following the element (prev) to the current processing unit in the DB-MAIN repository. |
void |
addNextProcessingUnitCardinality(DBMProcessingUnitCardinality cur,
DBMProcessingUnitCardinality prev)
Adds a processing unit cardinality (cur) following the processing unit cardinality (prev) to the current processing unit in the DB-MAIN repository. |
DBMEnvironment |
createEnvironment(java.lang.String name,
char type,
char mode,
DBMState state)
Creates a new instance of environment attached to the current processing unit in the DB-MAIN repository. |
DBMProcessingUnitCardinality |
createProcessingUnitCardinality(java.lang.String name,
int min_card,
int max_card,
DBMConsumption consumption)
Creates a new instance of processing unit cardinality attached to the current processing unit in the DB-MAIN repository. |
void |
deleteProcessingUnit()
Deletes the processing unit of the DB-MAIN repository represented by the current DBMProcessingUnit instance. |
DBMEnvironment |
getFirstEnvironment()
Returns the first environment of the current processing unit in the DB-MAIN repository. |
DBMElement |
getFirstInvokeElement()
Returns the first element of the current processing unit in the DB-MAIN repository. |
DBMElement |
getFirstMadeOfElement()
Returns the first element of the current processing unit in the DB-MAIN repository. |
DBMProcessingUnitCardinality |
getFirstProcessingUnitCardinality()
Returns the first processing unit cardinality of the current processing unit in the DB-MAIN repository. |
DBMEnvironment |
getLastEnvironment()
Returns the last environment of the current processing unit in the DB-MAIN repository. |
DBMElement |
getLastInvokeElement()
Returns the last element of the current processing unit in the DB-MAIN repository. |
DBMElement |
getLastMadeOfElement()
Returns the last element of the current processing unit in the DB-MAIN repository. |
DBMProcessingUnitCardinality |
getLastProcessingUnitCardinality()
Returns the last processing unit cardinality of the current processing unit in the DB-MAIN repository. |
char |
getMode()
Returns the mode of the current processing unit. |
java.lang.String |
getModeName()
Returns the mode constant name of the current processing unit. |
DBMEnvironment |
getNextEnvironment(DBMEnvironment cur)
Returns the environment (of the current processing unit) that follows the environment cur in the DB-MAIN repository. |
DBMElement |
getNextInvokeElement(DBMElement cur)
Returns the element (of the current processing unit) that follows the element cur in the DB-MAIN repository. |
DBMElement |
getNextMadeOfElement(DBMElement cur)
Returns the element (of the current processing unit) that follows the element cur in the DB-MAIN repository. |
DBMProcessingUnitCardinality |
getNextProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
Returns the processing unit cardinality (of the current processing unit) that follows the processing unit cardinality cur in the DB-MAIN repository. |
DBMEnvironment |
getPreviousEnvironment(DBMEnvironment cur)
Returns the environment (of the current processing unit) that precedes the environment cur in the DB-MAIN repository. |
DBMElement |
getPreviousInvokeElement(DBMElement cur)
Returns the element (of the current processing unit) that precedes the element cur in the DB-MAIN repository. |
DBMElement |
getPreviousMadeOfElement(DBMElement cur)
Returns the element (of the current processing unit) that precedes the element cur in the DB-MAIN repository. |
DBMProcessingUnitCardinality |
getPreviousProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
Returns the processing unit cardinality (of the current processing unit) that precedes the processing unit cardinality cur in the DB-MAIN repository. |
DBMGenericObject |
getProcessingUnitOwner()
Returns the generic object of the current processing unit. |
char |
getType()
Returns the type of the current processing unit. |
java.lang.String |
getTypeName()
Returns the type constant name of the current processing unit. |
void |
removeEnvironment()
Removes the list of environment attached to the current processing unit in the DB-MAIN repository. |
void |
removeInvokeElement()
Removes the list of element attached to the current processing unit in the DB-MAIN repository. |
void |
removeMadeOfElement()
Removes the list of element attached to the current processing unit in the DB-MAIN repository. |
void |
removeProcessingUnitCardinality()
Removes the list of processing unit cardinality attached to the current processing unit in the DB-MAIN repository. |
void |
removeProcessingUnitOwner()
Removes the generic object attached to the current processing unit in the DB-MAIN repository. |
void |
setMode(char val)
Updates the value of mode in the current processing unit in the DB-MAIN repository. |
void |
setType(char val)
Updates the value of type in the current processing unit 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 |
| Field Detail |
|---|
public static final char METHOD_TYPE_PU
public static final char PREDICAT_TYPE_PU
public static final char TRIGGER_TYPE_PU
public static final char PROCEDURE_TYPE_PU
public static final char INITIAL_MODE_PU
public static final char FINAL_MODE_PU
public static final char HOR_SYNC_MODE_PU
public static final char VER_SYNC_MODE_PU
public static final char DECISION_MODE_PU
public static final char SIGNAL_SEND_MODE_PU
public static final char SIGNAL_REC_MODE_PU
| Constructor Detail |
|---|
public DBMProcessingUnit(int id,
long sysid)
id - the object identifier of a processing unit.sysid - the system identifier of a processing unit.public DBMProcessingUnit(int id)
id - the object identifier of a processing unit.| Method Detail |
|---|
public char getType()
public java.lang.String getTypeName()
public void setType(char val)
val - the new char value of the field Type.public char getMode()
public java.lang.String getModeName()
public void setMode(char val)
val - the new char value of the field Mode.public void deleteProcessingUnit()
public DBMEnvironment createEnvironment(java.lang.String name,
char type,
char mode,
DBMState state)
name - the value of the field name.type - the value of the field type.mode - the value of the field mode.state - the state linked to the created object.
public DBMProcessingUnitCardinality createProcessingUnitCardinality(java.lang.String name,
int min_card,
int max_card,
DBMConsumption consumption)
name - the value of the field name.min_card - the value of the field minimum cardinality.max_card - the value of the field maximum cardinality.consumption - the consumption linked to the created object.
public DBMElement getFirstMadeOfElement()
public DBMElement getLastMadeOfElement()
public DBMElement getNextMadeOfElement(DBMElement cur)
cur - the current element.
public DBMElement getPreviousMadeOfElement(DBMElement cur)
cur - the current element.
public void addFirstMadeOfElement(DBMElement cur)
cur - the added element.
public void addNextMadeOfElement(DBMElement cur,
DBMElement prev)
cur - the added element.prev - the element after which the element cur is inserted.public void removeMadeOfElement()
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 DBMElement getFirstInvokeElement()
public DBMElement getLastInvokeElement()
public DBMElement getNextInvokeElement(DBMElement cur)
cur - the current element.
public DBMElement getPreviousInvokeElement(DBMElement cur)
cur - the current element.
public void addFirstInvokeElement(DBMElement cur)
cur - the added element.
public void addNextInvokeElement(DBMElement cur,
DBMElement prev)
cur - the added element.prev - the element after which the element cur is inserted.public void removeInvokeElement()
public DBMProcessingUnitCardinality getFirstProcessingUnitCardinality()
public DBMProcessingUnitCardinality getLastProcessingUnitCardinality()
public DBMProcessingUnitCardinality getNextProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
cur - the current processing unit cardinality.
public DBMProcessingUnitCardinality getPreviousProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
cur - the current processing unit cardinality.
public void addFirstProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
cur - the added processing unit cardinality.
public void addNextProcessingUnitCardinality(DBMProcessingUnitCardinality cur,
DBMProcessingUnitCardinality prev)
cur - the added processing unit cardinality.prev - the processing unit cardinality after which the processing unit cardinality cur is inserted.public void removeProcessingUnitCardinality()
public DBMGenericObject getProcessingUnitOwner()
public void removeProcessingUnitOwner()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||