|
||||||||
| 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.DBMCollection
public class DBMCollection
The DBMCollection class represents collection objects of the DB-MAIN repository.
A collection can have several data objects. The data object instances fall into 8 classes: consumption, state, resource, processing unit, relationship type, entity type, simple attribute and compound attribute.
| 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 | |
|---|---|
DBMCollection(int id)
Creates a new instance of the DBMCollection class representing the collection identified by id and the current project in DB-MAIN. |
|
DBMCollection(int id,
long sysid)
Creates a new instance of the DBMCollection class representing the collection identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstDataObject(DBMDataObject cur)
Adds a first data object (cur) to the current collection in the DB-MAIN repository. |
void |
addNextDataObject(DBMDataObject cur,
DBMDataObject prev)
Adds a data object (cur) following the data object (prev) to the current collection in the DB-MAIN repository. |
void |
deleteCollection()
Deletes the collection of the DB-MAIN repository represented by the current DBMCollection instance. |
DBMDataObject |
getFirstDataObject()
Returns the first data object of the current collection in the DB-MAIN repository. |
DBMCompoundAttribute |
getFirstDataObjectCompoundAttribute()
Returns the first compound attribute data object of the current collection in the DB-MAIN repository. |
DBMConsumption |
getFirstDataObjectConsumption()
Returns the first consumption data object of the current collection in the DB-MAIN repository. |
DBMEntityType |
getFirstDataObjectEntityType()
Returns the first entity type data object of the current collection in the DB-MAIN repository. |
DBMProcessingUnit |
getFirstDataObjectProcessingUnit()
Returns the first processing unit data object of the current collection in the DB-MAIN repository. |
DBMRelationshipType |
getFirstDataObjectRelationshipType()
Returns the first relationship type data object of the current collection in the DB-MAIN repository. |
DBMResource |
getFirstDataObjectResource()
Returns the first resource data object of the current collection in the DB-MAIN repository. |
DBMSimpleAttribute |
getFirstDataObjectSimpleAttribute()
Returns the first simple attribute data object of the current collection in the DB-MAIN repository. |
DBMState |
getFirstDataObjectState()
Returns the first state data object of the current collection in the DB-MAIN repository. |
DBMDataObject |
getLastDataObject()
Returns the last data object of the current collection in the DB-MAIN repository. |
DBMCompoundAttribute |
getLastDataObjectCompoundAttribute()
Returns the last compound attribute data object of the current collection in the DB-MAIN repository. |
DBMConsumption |
getLastDataObjectConsumption()
Returns the last consumption data object of the current collection in the DB-MAIN repository. |
DBMEntityType |
getLastDataObjectEntityType()
Returns the last entity type data object of the current collection in the DB-MAIN repository. |
DBMProcessingUnit |
getLastDataObjectProcessingUnit()
Returns the last processing unit data object of the current collection in the DB-MAIN repository. |
DBMRelationshipType |
getLastDataObjectRelationshipType()
Returns the last relationship type data object of the current collection in the DB-MAIN repository. |
DBMResource |
getLastDataObjectResource()
Returns the last resource data object of the current collection in the DB-MAIN repository. |
DBMSimpleAttribute |
getLastDataObjectSimpleAttribute()
Returns the last simple attribute data object of the current collection in the DB-MAIN repository. |
DBMState |
getLastDataObjectState()
Returns the last state data object of the current collection in the DB-MAIN repository. |
DBMDataObject |
getNextDataObject(DBMDataObject cur)
Returns the data object (of the current collection) that follows the data object cur in the DB-MAIN repository. |
DBMCompoundAttribute |
getNextDataObjectCompoundAttribute(DBMCompoundAttribute cur)
Returns the compound attribute data object (of the current collection) that follows the compound attribute cur in the DB-MAIN repository. |
DBMConsumption |
getNextDataObjectConsumption(DBMConsumption cur)
Returns the consumption data object (of the current collection) that follows the consumption cur in the DB-MAIN repository. |
DBMEntityType |
getNextDataObjectEntityType(DBMEntityType cur)
Returns the entity type data object (of the current collection) that follows the entity type cur in the DB-MAIN repository. |
DBMProcessingUnit |
getNextDataObjectProcessingUnit(DBMProcessingUnit cur)
Returns the processing unit data object (of the current collection) that follows the processing unit cur in the DB-MAIN repository. |
DBMRelationshipType |
getNextDataObjectRelationshipType(DBMRelationshipType cur)
Returns the relationship type data object (of the current collection) that follows the relationship type cur in the DB-MAIN repository. |
DBMResource |
getNextDataObjectResource(DBMResource cur)
Returns the resource data object (of the current collection) that follows the resource cur in the DB-MAIN repository. |
DBMSimpleAttribute |
getNextDataObjectSimpleAttribute(DBMSimpleAttribute cur)
Returns the simple attribute data object (of the current collection) that follows the simple attribute cur in the DB-MAIN repository. |
DBMState |
getNextDataObjectState(DBMState cur)
Returns the state data object (of the current collection) that follows the state cur in the DB-MAIN repository. |
DBMDataObject |
getPreviousDataObject(DBMDataObject cur)
Returns the data object (of the current collection) that precedes the data object cur in the DB-MAIN repository. |
DBMCompoundAttribute |
getPreviousDataObjectCompoundAttribute(DBMCompoundAttribute cur)
Returns the compound attribute data object (of the current collection) that precedes the compound attribute cur in the DB-MAIN repository. |
DBMConsumption |
getPreviousDataObjectConsumption(DBMConsumption cur)
Returns the consumption data object (of the current collection) that precedes the consumption cur in the DB-MAIN repository. |
DBMEntityType |
getPreviousDataObjectEntityType(DBMEntityType cur)
Returns the entity type data object (of the current collection) that precedes the entity type cur in the DB-MAIN repository. |
DBMProcessingUnit |
getPreviousDataObjectProcessingUnit(DBMProcessingUnit cur)
Returns the processing unit data object (of the current collection) that precedes the processing unit cur in the DB-MAIN repository. |
DBMRelationshipType |
getPreviousDataObjectRelationshipType(DBMRelationshipType cur)
Returns the relationship type data object (of the current collection) that precedes the relationship type cur in the DB-MAIN repository. |
DBMResource |
getPreviousDataObjectResource(DBMResource cur)
Returns the resource data object (of the current collection) that precedes the resource cur in the DB-MAIN repository. |
DBMSimpleAttribute |
getPreviousDataObjectSimpleAttribute(DBMSimpleAttribute cur)
Returns the simple attribute data object (of the current collection) that precedes the simple attribute cur in the DB-MAIN repository. |
DBMState |
getPreviousDataObjectState(DBMState cur)
Returns the state data object (of the current collection) that precedes the state cur in the DB-MAIN repository. |
DBMSchema |
getSchema()
Returns the schema of the current collection. |
void |
removeDataObject()
Removes the list of data object attached to the current collection in the DB-MAIN repository. |
void |
removeSchema()
Removes the schema attached to the current collection 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 |
| Constructor Detail |
|---|
public DBMCollection(int id,
long sysid)
id - the object identifier of a collection.sysid - the system identifier of a collection.public DBMCollection(int id)
id - the object identifier of a collection.| Method Detail |
|---|
public void deleteCollection()
public DBMDataObject getFirstDataObject()
public DBMDataObject getLastDataObject()
public DBMDataObject getNextDataObject(DBMDataObject cur)
cur - the current data object.
public DBMDataObject getPreviousDataObject(DBMDataObject cur)
cur - the current data object.
public DBMConsumption getFirstDataObjectConsumption()
public DBMConsumption getLastDataObjectConsumption()
public DBMConsumption getNextDataObjectConsumption(DBMConsumption cur)
cur - the current consumption.
public DBMConsumption getPreviousDataObjectConsumption(DBMConsumption cur)
cur - the current consumption.
public DBMState getFirstDataObjectState()
public DBMState getLastDataObjectState()
public DBMState getNextDataObjectState(DBMState cur)
cur - the current state.
public DBMState getPreviousDataObjectState(DBMState cur)
cur - the current state.
public DBMResource getFirstDataObjectResource()
public DBMResource getLastDataObjectResource()
public DBMResource getNextDataObjectResource(DBMResource cur)
cur - the current resource.
public DBMResource getPreviousDataObjectResource(DBMResource cur)
cur - the current resource.
public DBMProcessingUnit getFirstDataObjectProcessingUnit()
public DBMProcessingUnit getLastDataObjectProcessingUnit()
public DBMProcessingUnit getNextDataObjectProcessingUnit(DBMProcessingUnit cur)
cur - the current processing unit.
public DBMProcessingUnit getPreviousDataObjectProcessingUnit(DBMProcessingUnit cur)
cur - the current processing unit.
public DBMRelationshipType getFirstDataObjectRelationshipType()
public DBMRelationshipType getLastDataObjectRelationshipType()
public DBMRelationshipType getNextDataObjectRelationshipType(DBMRelationshipType cur)
cur - the current relationship type.
public DBMRelationshipType getPreviousDataObjectRelationshipType(DBMRelationshipType cur)
cur - the current relationship type.
public DBMEntityType getFirstDataObjectEntityType()
public DBMEntityType getLastDataObjectEntityType()
public DBMEntityType getNextDataObjectEntityType(DBMEntityType cur)
cur - the current entity type.
public DBMEntityType getPreviousDataObjectEntityType(DBMEntityType cur)
cur - the current entity type.
public DBMSimpleAttribute getFirstDataObjectSimpleAttribute()
public DBMSimpleAttribute getLastDataObjectSimpleAttribute()
public DBMSimpleAttribute getNextDataObjectSimpleAttribute(DBMSimpleAttribute cur)
cur - the current simple attribute.
public DBMSimpleAttribute getPreviousDataObjectSimpleAttribute(DBMSimpleAttribute cur)
cur - the current simple attribute.
public DBMCompoundAttribute getFirstDataObjectCompoundAttribute()
public DBMCompoundAttribute getLastDataObjectCompoundAttribute()
public DBMCompoundAttribute getNextDataObjectCompoundAttribute(DBMCompoundAttribute cur)
cur - the current compound attribute.
public DBMCompoundAttribute getPreviousDataObjectCompoundAttribute(DBMCompoundAttribute cur)
cur - the current compound attribute.
public void addFirstDataObject(DBMDataObject cur)
cur - the added data object.
public void addNextDataObject(DBMDataObject cur,
DBMDataObject prev)
cur - the added data object.prev - the data object after which the data object cur is inserted.public void removeDataObject()
public DBMSchema getSchema()
public void removeSchema()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||