|
||||||||
| 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.DBMConnection
public class DBMConnection
The DBMConnection class represents connection objects of the DB-MAIN repository.
| Field Summary | |
|---|---|
static java.lang.String |
CON_COPY
Constant of field type: Copy link between two schemas. |
static java.lang.String |
CON_DIC
Constant of field type: Report link between a schema and a file. |
static java.lang.String |
CON_GEN
Constant of field type: Generation link between a schema and a file. |
static java.lang.String |
CON_INTEG
Constant of field type: Integration link between two products. |
static java.lang.String |
CON_XTR
Constant of field type: Extract link between a file and a schema. |
| 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 | |
|---|---|
DBMConnection(int id)
Creates a new instance of the DBMConnection class representing the connection identified by id and the current project in DB-MAIN. |
|
DBMConnection(int id,
long sysid)
Creates a new instance of the DBMConnection class representing the connection identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
deleteConnection()
Deletes the connection of the DB-MAIN repository represented by the current DBMConnection instance. |
DBMProduct |
getFromProduct()
Returns the product of the current connection. |
short |
getSequenceNumber()
Returns the sequence number of the current connection. |
DBMProduct |
getToProduct()
Returns the product of the current connection. |
java.lang.String |
getType()
Returns the type of the current connection. |
void |
removeFromProduct()
Removes the product attached to the current connection in the DB-MAIN repository. |
void |
removeToProduct()
Removes the product attached to the current connection in the DB-MAIN repository. |
void |
setSequenceNumber(short val)
Updates the value of sequence number in the current connection in the DB-MAIN repository. |
void |
setType(java.lang.String val)
Updates the value of type in the current connection 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 java.lang.String CON_COPY
public static final java.lang.String CON_INTEG
public static final java.lang.String CON_XTR
public static final java.lang.String CON_GEN
public static final java.lang.String CON_DIC
| Constructor Detail |
|---|
public DBMConnection(int id,
long sysid)
id - the object identifier of a connection.sysid - the system identifier of a connection.public DBMConnection(int id)
id - the object identifier of a connection.| Method Detail |
|---|
public java.lang.String getType()
public void setType(java.lang.String val)
val - the new String value of the field Type.public short getSequenceNumber()
public void setSequenceNumber(short val)
val - the new short value of the field SequenceNumber.public void deleteConnection()
public DBMProduct getToProduct()
public void removeToProduct()
public DBMProduct getFromProduct()
public void removeFromProduct()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||