|
||||||||
| 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.DBMProduct
com.dbmain.jidbm.DBMProductSet
public class DBMProductSet
The DBMProductSet class represents product set objects of the DB-MAIN repository.
A product set can have several products. The product instances fall into 3 classes: product set, schema and text.
| 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 | |
|---|---|
DBMProductSet(int id)
Creates a new instance of the DBMProductSet class representing the product set identified by id and the current project in DB-MAIN. |
|
DBMProductSet(int id,
long sysid)
Creates a new instance of the DBMProductSet class representing the product set identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstProduct(DBMProduct cur)
Adds a first product (cur) to the current product set in the DB-MAIN repository. |
void |
addNextProduct(DBMProduct cur,
DBMProduct prev)
Adds a product (cur) following the product (prev) to the current product set in the DB-MAIN repository. |
void |
deleteProductSet()
Deletes the product set of the DB-MAIN repository represented by the current DBMProductSet instance. |
DBMProduct |
getFirstProduct()
Returns the first product of the current product set in the DB-MAIN repository. |
DBMProductSet |
getFirstProductProductSet()
Returns the first product set product of the current product set in the DB-MAIN repository. |
DBMSchema |
getFirstProductSchema()
Returns the first schema product of the current product set in the DB-MAIN repository. |
DBMText |
getFirstProductText()
Returns the first text product of the current product set in the DB-MAIN repository. |
DBMProduct |
getLastProduct()
Returns the last product of the current product set in the DB-MAIN repository. |
DBMProductSet |
getLastProductProductSet()
Returns the last product set product of the current product set in the DB-MAIN repository. |
DBMSchema |
getLastProductSchema()
Returns the last schema product of the current product set in the DB-MAIN repository. |
DBMText |
getLastProductText()
Returns the last text product of the current product set in the DB-MAIN repository. |
DBMProduct |
getNextProduct(DBMProduct cur)
Returns the product (of the current product set) that follows the product cur in the DB-MAIN repository. |
DBMProductSet |
getNextProductProductSet(DBMProductSet cur)
Returns the product set product (of the current product set) that follows the product set cur in the DB-MAIN repository. |
DBMSchema |
getNextProductSchema(DBMSchema cur)
Returns the schema product (of the current product set) that follows the schema cur in the DB-MAIN repository. |
DBMText |
getNextProductText(DBMText cur)
Returns the text product (of the current product set) that follows the text cur in the DB-MAIN repository. |
DBMProduct |
getPreviousProduct(DBMProduct cur)
Returns the product (of the current product set) that precedes the product cur in the DB-MAIN repository. |
DBMProductSet |
getPreviousProductProductSet(DBMProductSet cur)
Returns the product set product (of the current product set) that precedes the product set cur in the DB-MAIN repository. |
DBMSchema |
getPreviousProductSchema(DBMSchema cur)
Returns the schema product (of the current product set) that precedes the schema cur in the DB-MAIN repository. |
DBMText |
getPreviousProductText(DBMText cur)
Returns the text product (of the current product set) that precedes the text cur in the DB-MAIN repository. |
void |
removeProduct()
Removes the list of product attached to the current product set in the DB-MAIN repository. |
| Methods inherited from class com.dbmain.jidbm.DBMConcreteObject |
|---|
deleteConcreteObject, getName, getQualifiedName, getSemanticDescription, getShortName, getTechnicalDescription, setName, setSemanticDescription, setShortName, setTechnicalDescription |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBMProductSet(int id,
long sysid)
id - the object identifier of a product set.sysid - the system identifier of a product set.public DBMProductSet(int id)
id - the object identifier of a product set.| Method Detail |
|---|
public void deleteProductSet()
public DBMProduct getFirstProduct()
public DBMProduct getLastProduct()
public DBMProduct getNextProduct(DBMProduct cur)
cur - the current product.
public DBMProduct getPreviousProduct(DBMProduct cur)
cur - the current product.
public DBMProductSet getFirstProductProductSet()
public DBMProductSet getLastProductProductSet()
public DBMProductSet getNextProductProductSet(DBMProductSet cur)
cur - the current product set.
public DBMProductSet getPreviousProductProductSet(DBMProductSet cur)
cur - the current product set.
public DBMSchema getFirstProductSchema()
public DBMSchema getLastProductSchema()
public DBMSchema getNextProductSchema(DBMSchema cur)
cur - the current schema.
public DBMSchema getPreviousProductSchema(DBMSchema cur)
cur - the current schema.
public DBMText getFirstProductText()
public DBMText getLastProductText()
public DBMText getNextProductText(DBMText cur)
cur - the current text.
public DBMText getPreviousProductText(DBMText cur)
cur - the current text.
public void addFirstProduct(DBMProduct cur)
cur - the added product.
public void addNextProduct(DBMProduct cur,
DBMProduct prev)
cur - the added product.prev - the product after which the product cur is inserted.public void removeProduct()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||