|
||||||||
| 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.DBMResourceCardinality
public class DBMResourceCardinality
The DBMResourceCardinality class represents resource cardinality objects of the DB-MAIN repository.
| Field Summary | |
|---|---|
static int |
N_CARD
Constant of field maximumCardinality: Infinity value (N). |
| 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 | |
|---|---|
DBMResourceCardinality(int id)
Creates a new instance of the DBMResourceCardinality class representing the resource cardinality identified by id and the current project in DB-MAIN. |
|
DBMResourceCardinality(int id,
long sysid)
Creates a new instance of the DBMResourceCardinality class representing the resource cardinality identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
deleteResourceCardinality()
Deletes the resource cardinality of the DB-MAIN repository represented by the current DBMResourceCardinality instance. |
DBMConsumption |
getConsumption()
Returns the consumption of the current resource cardinality. |
int |
getMaximumCardinality()
Returns the maximum cardinality of the current resource cardinality. |
int |
getMinimumCardinality()
Returns the minimum cardinality of the current resource cardinality. |
DBMResource |
getResource()
Returns the resource of the current resource cardinality. |
void |
removeConsumption()
Removes the consumption attached to the current resource cardinality in the DB-MAIN repository. |
void |
removeResource()
Removes the resource attached to the current resource cardinality in the DB-MAIN repository. |
void |
setMaximumCardinality(int val)
Updates the value of maximum cardinality in the current resource cardinality in the DB-MAIN repository. |
void |
setMinimumCardinality(int val)
Updates the value of minimum cardinality in the current resource cardinality 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 |
| Field Detail |
|---|
public static final int N_CARD
| Constructor Detail |
|---|
public DBMResourceCardinality(int id,
long sysid)
id - the object identifier of a resource cardinality.sysid - the system identifier of a resource cardinality.public DBMResourceCardinality(int id)
id - the object identifier of a resource cardinality.| Method Detail |
|---|
public int getMinimumCardinality()
public void setMinimumCardinality(int val)
val - the new int value of the field MinimumCardinality.public int getMaximumCardinality()
public void setMaximumCardinality(int val)
val - the new int value of the field MaximumCardinality.public void deleteResourceCardinality()
public DBMResource getResource()
public void removeResource()
public DBMConsumption getConsumption()
public void removeConsumption()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||