|
||||||||
| 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.DBMElement
public class DBMElement
The DBMElement class represents element objects of the DB-MAIN repository.
A element can have several element relations and element relations.
| Field Summary | |
|---|---|
static char |
CTRL_SET_ELEM
Constant of field type: Origin of control flow. |
static char |
CTRL_TYPE_ELEM
Constant of field type: Target of control flow. |
static char |
EXTEND_SET_ELEM
Constant of field type: Origin of entend relationship. |
static char |
EXTEND_TYPE_ELEM
Constant of field type: Target of entend relationship. |
static char |
GEN_SET_ELEM
Constant of field type: Origin of generalization relationship. |
static char |
GEN_TYPE_ELEM
Constant of field type: Target of generalization relationship. |
static char |
INCLUDE_SET_ELEM
Constant of field type: Origin of include relationship. |
static char |
INCLUDE_TYPE_ELEM
Constant of field type: Target of include relationship. |
| 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 | |
|---|---|
DBMElement(int id)
Creates a new instance of the DBMElement class representing the element identified by id and the current project in DB-MAIN. |
|
DBMElement(int id,
long sysid)
Creates a new instance of the DBMElement class representing the element identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstMadeOfElementRelation(DBMElementRelation cur)
Adds a first element relation (cur) to the current element in the DB-MAIN repository. |
void |
addFirstPartOfElementRelation(DBMElementRelation cur)
Adds a first element relation (cur) to the current element in the DB-MAIN repository. |
void |
addNextMadeOfElementRelation(DBMElementRelation cur,
DBMElementRelation prev)
Adds a element relation (cur) following the element relation (prev) to the current element in the DB-MAIN repository. |
void |
addNextPartOfElementRelation(DBMElementRelation cur,
DBMElementRelation prev)
Adds a element relation (cur) following the element relation (prev) to the current element in the DB-MAIN repository. |
static DBMElement |
createElement(char type,
char mode)
Creates a new instance of element attached to the current element in the DB-MAIN repository. |
DBMElementRelation |
createElementRelation(java.lang.String name,
char type,
char mode,
DBMElement part_of)
Creates a new instance of element relation attached to the current element in the DB-MAIN repository. |
void |
deleteElement()
Deletes the element of the DB-MAIN repository represented by the current DBMElement instance. |
java.lang.String |
getDescription()
Returns the description of the current element. |
DBMElementRelation |
getFirstMadeOfElementRelation()
Returns the first element relation of the current element in the DB-MAIN repository. |
DBMElementRelation |
getFirstPartOfElementRelation()
Returns the first element relation of the current element in the DB-MAIN repository. |
DBMProcessingUnit |
getInvokeProcessingUnit()
Returns the processing unit of the current element. |
DBMElementRelation |
getLastMadeOfElementRelation()
Returns the last element relation of the current element in the DB-MAIN repository. |
DBMElementRelation |
getLastPartOfElementRelation()
Returns the last element relation of the current element in the DB-MAIN repository. |
DBMProcessingUnit |
getMadeOfProcessingUnit()
Returns the processing unit of the current element. |
char |
getMode()
Returns the mode of the current element. |
DBMElementRelation |
getNextMadeOfElementRelation(DBMElementRelation cur)
Returns the element relation (of the current element) that follows the element relation cur in the DB-MAIN repository. |
DBMElementRelation |
getNextPartOfElementRelation(DBMElementRelation cur)
Returns the element relation (of the current element) that follows the element relation cur in the DB-MAIN repository. |
DBMElementRelation |
getPreviousMadeOfElementRelation(DBMElementRelation cur)
Returns the element relation (of the current element) that precedes the element relation cur in the DB-MAIN repository. |
DBMElementRelation |
getPreviousPartOfElementRelation(DBMElementRelation cur)
Returns the element relation (of the current element) that precedes the element relation cur in the DB-MAIN repository. |
char |
getType()
Returns the type of the current element. |
java.lang.String |
getTypeName()
Returns the type constant name of the current element. |
void |
removeInvokeProcessingUnit()
Removes the processing unit attached to the current element in the DB-MAIN repository. |
void |
removeMadeOfElementRelation()
Removes the list of element relation attached to the current element in the DB-MAIN repository. |
void |
removeMadeOfProcessingUnit()
Removes the processing unit attached to the current element in the DB-MAIN repository. |
void |
removePartOfElementRelation()
Removes the list of element relation attached to the current element in the DB-MAIN repository. |
void |
setDescription(java.lang.String val)
Updates the value of description in the current element in the DB-MAIN repository. |
void |
setMode(char val)
Updates the value of mode in the current element in the DB-MAIN repository. |
void |
setType(char val)
Updates the value of type in the current element in the DB-MAIN repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final char CTRL_SET_ELEM
public static final char CTRL_TYPE_ELEM
public static final char EXTEND_SET_ELEM
public static final char EXTEND_TYPE_ELEM
public static final char INCLUDE_SET_ELEM
public static final char INCLUDE_TYPE_ELEM
public static final char GEN_SET_ELEM
public static final char GEN_TYPE_ELEM
| Constructor Detail |
|---|
public DBMElement(int id,
long sysid)
id - the object identifier of a element.sysid - the system identifier of a element.public DBMElement(int id)
id - the object identifier of a element.| 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 void setMode(char val)
val - the new char value of the field Mode.public java.lang.String getDescription()
public void setDescription(java.lang.String val)
val - the new String value of the field Description.public void deleteElement()
public DBMElementRelation createElementRelation(java.lang.String name,
char type,
char mode,
DBMElement part_of)
name - the value of the field name.type - the value of the field type.mode - the value of the field mode.part_of - the element linked to the created object.
public static DBMElement createElement(char type,
char mode)
type - the value of the field type.mode - the value of the field mode.
public DBMElementRelation getFirstPartOfElementRelation()
public DBMElementRelation getLastPartOfElementRelation()
public DBMElementRelation getNextPartOfElementRelation(DBMElementRelation cur)
cur - the current element relation.
public DBMElementRelation getPreviousPartOfElementRelation(DBMElementRelation cur)
cur - the current element relation.
public void addFirstPartOfElementRelation(DBMElementRelation cur)
cur - the added element relation.
public void addNextPartOfElementRelation(DBMElementRelation cur,
DBMElementRelation prev)
cur - the added element relation.prev - the element relation after which the element relation cur is inserted.public void removePartOfElementRelation()
public DBMElementRelation getFirstMadeOfElementRelation()
public DBMElementRelation getLastMadeOfElementRelation()
public DBMElementRelation getNextMadeOfElementRelation(DBMElementRelation cur)
cur - the current element relation.
public DBMElementRelation getPreviousMadeOfElementRelation(DBMElementRelation cur)
cur - the current element relation.
public void addFirstMadeOfElementRelation(DBMElementRelation cur)
cur - the added element relation.
public void addNextMadeOfElementRelation(DBMElementRelation cur,
DBMElementRelation prev)
cur - the added element relation.prev - the element relation after which the element relation cur is inserted.public void removeMadeOfElementRelation()
public DBMProcessingUnit getMadeOfProcessingUnit()
public void removeMadeOfProcessingUnit()
public DBMProcessingUnit getInvokeProcessingUnit()
public void removeInvokeProcessingUnit()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||