|
||||||||
| 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.DBMEntityRelationshipType
com.dbmain.jidbm.DBMEntityType
public class DBMEntityType
The DBMEntityType class represents entity type objects of the DB-MAIN repository.
A entity type can have several sub-types, roles and clusters.
| 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 | |
|---|---|
DBMEntityType(int id)
Creates a new instance of the DBMEntityType class representing the entity type identified by id and the current project in DB-MAIN. |
|
DBMEntityType(int id,
long sysid)
Creates a new instance of the DBMEntityType class representing the entity type identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstCluster(DBMCluster cur)
Adds a first cluster (cur) to the current entity type in the DB-MAIN repository. |
void |
addFirstSubType(DBMSubType cur)
Adds a first sub-type (cur) to the current entity type in the DB-MAIN repository. |
void |
addNextCluster(DBMCluster cur,
DBMCluster prev)
Adds a cluster (cur) following the cluster (prev) to the current entity type in the DB-MAIN repository. |
void |
addNextSubType(DBMSubType cur,
DBMSubType prev)
Adds a sub-type (cur) following the sub-type (prev) to the current entity type in the DB-MAIN repository. |
DBMAttribute |
addTechnicalIdentifier(boolean show)
Add a technical identifier to the current entity type. |
DBMCluster |
createCluster(java.lang.String cluster_id,
short type,
java.lang.String criterion)
Creates a new instance of cluster attached to the current entity type in the DB-MAIN repository. |
DBMSubType |
createSubType(java.lang.String value,
DBMCluster cluster)
Creates a new instance of sub-type attached to the current entity type in the DB-MAIN repository. |
void |
deleteEntityType()
Deletes the entity type of the DB-MAIN repository represented by the current DBMEntityType instance. |
DBMCluster |
getFirstCluster()
Returns the first cluster of the current entity type in the DB-MAIN repository. |
DBMRole |
getFirstRole()
Returns the first role of the current entity type in the DB-MAIN repository. |
DBMSubType |
getFirstSubType()
Returns the first sub-type of the current entity type in the DB-MAIN repository. |
DBMCluster |
getLastCluster()
Returns the last cluster of the current entity type in the DB-MAIN repository. |
DBMRole |
getLastRole()
Returns the last role of the current entity type in the DB-MAIN repository. |
DBMSubType |
getLastSubType()
Returns the last sub-type of the current entity type in the DB-MAIN repository. |
DBMCluster |
getNextCluster(DBMCluster cur)
Returns the cluster (of the current entity type) that follows the cluster cur in the DB-MAIN repository. |
DBMRole |
getNextRole(DBMRole cur)
Returns the role (of the current entity type) that follows the role cur in the DB-MAIN repository. |
DBMSubType |
getNextSubType(DBMSubType cur)
Returns the sub-type (of the current entity type) that follows the sub-type cur in the DB-MAIN repository. |
DBMCluster |
getPreviousCluster(DBMCluster cur)
Returns the cluster (of the current entity type) that precedes the cluster cur in the DB-MAIN repository. |
DBMRole |
getPreviousRole(DBMRole cur)
Returns the role (of the current entity type) that precedes the role cur in the DB-MAIN repository. |
DBMSubType |
getPreviousSubType(DBMSubType cur)
Returns the sub-type (of the current entity type) that precedes the sub-type cur in the DB-MAIN repository. |
void |
removeCluster()
Removes the list of cluster attached to the current entity type in the DB-MAIN repository. |
void |
removeRole()
Removes the list of role attached to the current entity type in the DB-MAIN repository. |
void |
removeRole(DBMRole cur)
Removes a role attached to the current entity type in the DB-MAIN repository. |
void |
removeSubType()
Removes the list of sub-type attached to the current entity type in the DB-MAIN repository. |
DBMEntityType |
splitMergeEntityType(boolean show)
Split/Merge the current entity type. |
DBMAttribute |
transformIntoAttribute(boolean show)
Transform the current entity type into an attribute. |
DBMRelationshipType |
transformIntoRelationshipType(boolean show)
Transform the current entity type into a relationship type. |
java.lang.Object[] |
transformRelationshipTypeIntoSubType(boolean show)
Transform relationship types of the current entity type into sub-types. |
java.lang.Object[] |
transformSubTypeIntoRelationshipType(boolean show)
Transform sub-types of the current entity type into relationship types. |
| 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 DBMEntityType(int id,
long sysid)
id - the object identifier of a entity type.sysid - the system identifier of a entity type.public DBMEntityType(int id)
id - the object identifier of a entity type.| Method Detail |
|---|
public void deleteEntityType()
public DBMSubType createSubType(java.lang.String value,
DBMCluster cluster)
value - the value of the field value.cluster - the cluster linked to the created object.
public DBMCluster createCluster(java.lang.String cluster_id,
short type,
java.lang.String criterion)
cluster_id - the value of the field cluster identifier.type - the value of the field type.criterion - the value of the field criterion.
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 DBMRole getFirstRole()
public DBMRole getLastRole()
public DBMRole getNextRole(DBMRole cur)
cur - the current role.
public DBMRole getPreviousRole(DBMRole cur)
cur - the current role.
public void removeRole()
public void removeRole(DBMRole cur)
cur - the role to detach.public DBMCluster getFirstCluster()
public DBMCluster getLastCluster()
public DBMCluster getNextCluster(DBMCluster cur)
cur - the current cluster.
public DBMCluster getPreviousCluster(DBMCluster cur)
cur - the current cluster.
public void addFirstCluster(DBMCluster cur)
cur - the added cluster.
public void addNextCluster(DBMCluster cur,
DBMCluster prev)
cur - the added cluster.prev - the cluster after which the cluster cur is inserted.public void removeCluster()
public DBMRelationshipType transformIntoRelationshipType(boolean show)
show - indicate if the transformation dialogs must be displayed.
public DBMAttribute transformIntoAttribute(boolean show)
show - indicate if the transformation dialogs must be displayed.
public DBMEntityType splitMergeEntityType(boolean show)
show - indicate if the transformation dialogs must be displayed.
public DBMAttribute addTechnicalIdentifier(boolean show)
show - indicate if the transformation dialogs must be displayed.
public java.lang.Object[] transformSubTypeIntoRelationshipType(boolean show)
show - indicate if the transformation dialogs must be displayed.
public java.lang.Object[] transformRelationshipTypeIntoSubType(boolean show)
show - indicate if the transformation dialogs must be displayed.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||