|
||||||||
| 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.DBMCluster
public class DBMCluster
The DBMCluster class represents cluster objects of the DB-MAIN repository.
A cluster can have several sub-types.
| Field Summary | |
|---|---|
static short |
DISJOINT_CLU
Constant of field type: The collection of subtypes is declared disjoint. |
static short |
TOTAL_CLU
Constant of field type: The collection of subtypes is declared total. |
| 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 | |
|---|---|
DBMCluster(int id)
Creates a new instance of the DBMCluster class representing the cluster identified by id and the current project in DB-MAIN. |
|
DBMCluster(int id,
long sysid)
Creates a new instance of the DBMCluster class representing the cluster identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstSubType(DBMSubType cur)
Adds a first sub-type (cur) to the current cluster in the DB-MAIN repository. |
void |
addNextSubType(DBMSubType cur,
DBMSubType prev)
Adds a sub-type (cur) following the sub-type (prev) to the current cluster in the DB-MAIN repository. |
void |
deleteCluster()
Deletes the cluster of the DB-MAIN repository represented by the current DBMCluster instance. |
java.lang.String |
getClusterIdentifier()
Returns the cluster identifier of the current cluster. |
java.lang.String |
getCriterion()
Returns the criterion of the current cluster. |
DBMEntityType |
getEntityType()
Returns the entity type of the current cluster. |
DBMSubType |
getFirstSubType()
Returns the first sub-type of the current cluster in the DB-MAIN repository. |
DBMSubType |
getLastSubType()
Returns the last sub-type of the current cluster in the DB-MAIN repository. |
DBMSubType |
getNextSubType(DBMSubType cur)
Returns the sub-type (of the current cluster) that follows the sub-type cur in the DB-MAIN repository. |
DBMSubType |
getPreviousSubType(DBMSubType cur)
Returns the sub-type (of the current cluster) that precedes the sub-type cur in the DB-MAIN repository. |
short |
getType()
Returns the type of the current cluster. |
java.lang.String |
getTypeName()
Returns the type constant name of the current cluster. |
boolean |
isTypeConstant(short cst)
Returns the constant cst value in the type of the current cluster. |
void |
removeEntityType()
Removes the entity type attached to the current cluster in the DB-MAIN repository. |
void |
removeSubType()
Removes the list of sub-type attached to the current cluster in the DB-MAIN repository. |
void |
setClusterIdentifier(java.lang.String val)
Updates the value of cluster identifier in the current cluster in the DB-MAIN repository. |
void |
setCriterion(java.lang.String val)
Updates the value of criterion in the current cluster in the DB-MAIN repository. |
void |
setType(short val)
Updates the value of type in the current cluster in the DB-MAIN repository. |
void |
setTypeConstant(short cst,
boolean val)
Updates the constant cst value of type in the currentcluster 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 short TOTAL_CLU
public static final short DISJOINT_CLU
| Constructor Detail |
|---|
public DBMCluster(int id,
long sysid)
id - the object identifier of a cluster.sysid - the system identifier of a cluster.public DBMCluster(int id)
id - the object identifier of a cluster.| Method Detail |
|---|
public java.lang.String getClusterIdentifier()
public void setClusterIdentifier(java.lang.String val)
val - the new String value of the field ClusterIdentifier.public short getType()
public java.lang.String getTypeName()
public boolean isTypeConstant(short cst)
cst - a constant of the field type.
public void setType(short val)
val - the new short value of the field Type.
public void setTypeConstant(short cst,
boolean val)
cst - a constant of the field Type.val - the new boolean value of the constant cst in the field Type.public java.lang.String getCriterion()
public void setCriterion(java.lang.String val)
val - the new String value of the field Criterion.public void deleteCluster()
public DBMSubType getFirstSubType()
public DBMSubType getLastSubType()
public DBMSubType getNextSubType(DBMSubType cur)
cur - the current sub-type.
public DBMSubType getPreviousSubType(DBMSubType cur)
cur - the current sub-type.
public void addFirstSubType(DBMSubType cur)
cur - the added sub-type.
public void addNextSubType(DBMSubType cur,
DBMSubType prev)
cur - the added sub-type.prev - the sub-type after which the sub-type cur is inserted.public void removeSubType()
public DBMEntityType getEntityType()
public void removeEntityType()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||