|
||||||||
| 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.DBMConsumption
public class DBMConsumption
The DBMConsumption class represents consumption objects of the DB-MAIN repository.
| 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 | |
|---|---|
DBMConsumption(int id)
Creates a new instance of the DBMConsumption class representing the consumption identified by id and the current project in DB-MAIN. |
|
DBMConsumption(int id,
long sysid)
Creates a new instance of the DBMConsumption class representing the consumption identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
Adds a processing unit cardinality to the current consumption in the DB-MAIN repository. |
void |
addResourceCardinality(DBMResourceCardinality cur)
Adds a resource cardinality to the current consumption in the DB-MAIN repository. |
void |
deleteConsumption()
Deletes the consumption of the DB-MAIN repository represented by the current DBMConsumption instance. |
DBMProcessingUnitCardinality |
getProcessingUnitCardinality()
Returns the processing unit cardinality of the current consumption. |
DBMResourceCardinality |
getResourceCardinality()
Returns the resource cardinality of the current consumption. |
void |
removeProcessingUnitCardinality()
Removes the processing unit cardinality attached to the current consumption in the DB-MAIN repository. |
void |
removeResourceCardinality()
Removes the resource cardinality attached to the current consumption 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 DBMConsumption(int id,
long sysid)
id - the object identifier of a consumption.sysid - the system identifier of a consumption.public DBMConsumption(int id)
id - the object identifier of a consumption.| Method Detail |
|---|
public void deleteConsumption()
public DBMResourceCardinality getResourceCardinality()
public void addResourceCardinality(DBMResourceCardinality cur)
cur - the addedresource cardinality.public void removeResourceCardinality()
public DBMProcessingUnitCardinality getProcessingUnitCardinality()
public void addProcessingUnitCardinality(DBMProcessingUnitCardinality cur)
cur - the addedprocessing unit cardinality.public void removeProcessingUnitCardinality()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||