|
||||||||
| 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.DBMProject
public class DBMProject
The DBMProject class represents project objects of the DB-MAIN repository.
A project can have several user views, note relations, products and meta-objects. 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 | |
|---|---|
DBMProject()
Creates a new instance of the DBMProject class representing the project identified by the current project in DB-MAIN. |
|
DBMProject(long sysid)
Creates a new instance of the DBMProject class representing the project identified by sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstNoteRelation(DBMNoteRelation cur)
Adds a first note relation (cur) to the current project in the DB-MAIN repository. |
void |
addFirstProduct(DBMProduct cur)
Adds a first product (cur) to the current project in the DB-MAIN repository. |
void |
addFirstUserView(DBMUserView cur)
Adds a first user view (cur) to the current project in the DB-MAIN repository. |
void |
addNextNoteRelation(DBMNoteRelation cur,
DBMNoteRelation prev)
Adds a note relation (cur) following the note relation (prev) to the current project in the DB-MAIN repository. |
void |
addNextProduct(DBMProduct cur,
DBMProduct prev)
Adds a product (cur) following the product (prev) to the current project in the DB-MAIN repository. |
void |
addNextUserView(DBMUserView cur,
DBMUserView prev)
Adds a user view (cur) following the user view (prev) to the current project in the DB-MAIN repository. |
DBMMetaProperty |
createMetaProperty(java.lang.String name,
char type,
int funct,
DBMMetaProperty prev,
short objType)
Creates a new instance of meta-property attached to the meta-object identified by object type in the DB-MAIN repository. |
DBMProductSet |
createProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
DBMProductSet prev)
Creates a new instance of product set attached to the current project in the DB-MAIN repository. |
DBMProductSet |
createProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
int prod_set_type,
DBMProductSet prev)
Creates a new instance of product set attached to the current project in the DB-MAIN repository. |
DBMSchema |
createSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
DBMSchema prev)
Creates a new instance of schema attached to the current project in the DB-MAIN repository. |
DBMSchema |
createSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
int schema_type,
DBMSchema prev)
Creates a new instance of schema attached to the current project in the DB-MAIN repository. |
DBMText |
createText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
DBMText prev)
Creates a new instance of text attached to the current project in the DB-MAIN repository. |
DBMText |
createText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
int text_type,
DBMText prev)
Creates a new instance of text attached to the current project in the DB-MAIN repository. |
DBMProductSet |
createUniqueProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
DBMProductSet prev)
Creates a new unique instance of product set attached to the current project in the DB-MAIN repository. |
DBMProductSet |
createUniqueProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
int prod_set_type,
DBMProductSet prev)
Creates a new unique instance of product set attached to the current project in the DB-MAIN repository. |
DBMSchema |
createUniqueSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
DBMSchema prev)
Creates a new unique instance of schema attached to the current project in the DB-MAIN repository. |
DBMSchema |
createUniqueSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
int schema_type,
DBMSchema prev)
Creates a new unique instance of schema attached to the current project in the DB-MAIN repository. |
DBMText |
createUniqueText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
DBMText prev)
Creates a new unique instance of text attached to the current project in the DB-MAIN repository. |
DBMText |
createUniqueText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
int text_type,
DBMText prev)
Creates a new unique instance of text attached to the current project in the DB-MAIN repository. |
DBMUserView |
createUniqueUserView(java.lang.String name,
short type,
short zoom,
short reduce,
int xgrid,
int ygrid,
short font_size,
java.lang.String font_name,
short text_font_size,
java.lang.String text_font_name,
int markplan,
DBMUserView prev)
Creates a new unique instance of user view attached to the current project in the DB-MAIN repository. |
DBMUserView |
createUserView(java.lang.String name,
short type,
short zoom,
short reduce,
int xgrid,
int ygrid,
short font_size,
java.lang.String font_name,
short text_font_size,
java.lang.String text_font_name,
int markplan,
DBMUserView prev)
Creates a new instance of user view attached to the current project in the DB-MAIN repository. |
void |
deleteProject()
Deletes the project of the DB-MAIN repository represented by the current DBMProject instance. |
DBMSchema |
findSchema(java.lang.String name,
java.lang.String version)
returns the schema that have a specified name in the current project. |
DBMText |
findText(java.lang.String name,
java.lang.String version)
Returns the text that have a specified name in the current project. |
java.util.Date |
getCreationDate()
Returns the creation date of the current project. |
java.lang.String |
getFilename()
Returns the filename of the current project. |
DBMMetaObject |
getFirstMetaObject()
Returns the first meta-object of the current project in the DB-MAIN repository. |
DBMNoteRelation |
getFirstNoteRelation()
Returns the first note relation of the current project in the DB-MAIN repository. |
DBMProduct |
getFirstProduct()
Returns the first product of the current project in the DB-MAIN repository. |
DBMProductSet |
getFirstProductProductSet()
Returns the first product set product of the current project in the DB-MAIN repository. |
DBMSchema |
getFirstProductSchema()
Returns the first schema product of the current project in the DB-MAIN repository. |
DBMText |
getFirstProductText()
Returns the first text product of the current project in the DB-MAIN repository. |
DBMUserView |
getFirstUserView()
Returns the first user view of the current project in the DB-MAIN repository. |
DBMMetaObject |
getLastMetaObject()
Returns the last meta-object of the current project in the DB-MAIN repository. |
DBMNoteRelation |
getLastNoteRelation()
Returns the last note relation of the current project in the DB-MAIN repository. |
DBMProduct |
getLastProduct()
Returns the last product of the current project in the DB-MAIN repository. |
DBMProductSet |
getLastProductProductSet()
Returns the last product set product of the current project in the DB-MAIN repository. |
DBMSchema |
getLastProductSchema()
Returns the last schema product of the current project in the DB-MAIN repository. |
DBMText |
getLastProductText()
Returns the last text product of the current project in the DB-MAIN repository. |
DBMUserView |
getLastUserView()
Returns the last user view of the current project in the DB-MAIN repository. |
DBMMetaObject |
getNextMetaObject(DBMMetaObject cur)
Returns the meta-object (of the current project) that follows the meta-object cur in the DB-MAIN repository. |
DBMNoteRelation |
getNextNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current project) that follows the note relation cur in the DB-MAIN repository. |
DBMProduct |
getNextProduct(DBMProduct cur)
Returns the product (of the current project) that follows the product cur in the DB-MAIN repository. |
DBMProductSet |
getNextProductProductSet(DBMProductSet cur)
Returns the product set product (of the current project) that follows the product set cur in the DB-MAIN repository. |
DBMSchema |
getNextProductSchema(DBMSchema cur)
Returns the schema product (of the current project) that follows the schema cur in the DB-MAIN repository. |
DBMText |
getNextProductText(DBMText cur)
Returns the text product (of the current project) that follows the text cur in the DB-MAIN repository. |
DBMUserView |
getNextUserView(DBMUserView cur)
Returns the user view (of the current project) that follows the user view cur in the DB-MAIN repository. |
DBMMetaObject |
getPreviousMetaObject(DBMMetaObject cur)
Returns the meta-object (of the current project) that precedes the meta-object cur in the DB-MAIN repository. |
DBMNoteRelation |
getPreviousNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current project) that precedes the note relation cur in the DB-MAIN repository. |
DBMProduct |
getPreviousProduct(DBMProduct cur)
Returns the product (of the current project) that precedes the product cur in the DB-MAIN repository. |
DBMProductSet |
getPreviousProductProductSet(DBMProductSet cur)
Returns the product set product (of the current project) that precedes the product set cur in the DB-MAIN repository. |
DBMSchema |
getPreviousProductSchema(DBMSchema cur)
Returns the schema product (of the current project) that precedes the schema cur in the DB-MAIN repository. |
DBMText |
getPreviousProductText(DBMText cur)
Returns the text product (of the current project) that precedes the text cur in the DB-MAIN repository. |
DBMUserView |
getPreviousUserView(DBMUserView cur)
Returns the user view (of the current project) that precedes the user view cur in the DB-MAIN repository. |
void |
removeNoteRelation()
Removes the list of note relation attached to the current project in the DB-MAIN repository. |
void |
removeProduct()
Removes the list of product attached to the current project in the DB-MAIN repository. |
void |
removeUserView()
Removes the list of user view attached to the current project in the DB-MAIN repository. |
void |
setCreationDate(java.util.Date val)
Updates the value of creation date in the current project 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 DBMProject(long sysid)
sysid - the system identifier of a project.public DBMProject()
| Method Detail |
|---|
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date val)
val - the new Date value of the field CreationDate.public java.lang.String getFilename()
public void deleteProject()
public DBMUserView createUserView(java.lang.String name,
short type,
short zoom,
short reduce,
int xgrid,
int ygrid,
short font_size,
java.lang.String font_name,
short text_font_size,
java.lang.String text_font_name,
int markplan,
DBMUserView prev)
name - the value of the field name.type - the value of the field type.zoom - the value of the field zoom.reduce - the value of the field reduce.xgrid - the value of the field x grid.ygrid - the value of the field y grid.font_size - the value of the field font size.font_name - the value of the field font name.text_font_size - the value of the field text font size.text_font_name - the value of the field text font name.markplan - the value of the field highlighting plan.prev - the user view after which the created object is inserted.
public DBMProductSet createProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
DBMProductSet prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.prev - the product set after which the created object is inserted.
public DBMProductSet createProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
int prod_set_type,
DBMProductSet prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.prod_set_type - the product set type instance.prev - the product set after which the created object is inserted.
public DBMSchema createSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
DBMSchema prev)
name - the value of the field name.short_name - the value of the field short name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.type - the value of the field type.prev - the schema after which the created object is inserted.
public DBMSchema createSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
int schema_type,
DBMSchema prev)
name - the value of the field name.short_name - the value of the field short name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.type - the value of the field type.schema_type - the schema type instance.prev - the schema after which the created object is inserted.
public DBMText createText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
DBMText prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.path - the value of the field path.type_of_file - the value of the field file type.prev - the text after which the created object is inserted.
public DBMText createText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
int text_type,
DBMText prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.path - the value of the field path.type_of_file - the value of the field file type.text_type - the text type instance.prev - the text after which the created object is inserted.
public DBMUserView createUniqueUserView(java.lang.String name,
short type,
short zoom,
short reduce,
int xgrid,
int ygrid,
short font_size,
java.lang.String font_name,
short text_font_size,
java.lang.String text_font_name,
int markplan,
DBMUserView prev)
name - the value of the field name.type - the value of the field type.zoom - the value of the field zoom.reduce - the value of the field reduce.xgrid - the value of the field x grid.ygrid - the value of the field y grid.font_size - the value of the field font size.font_name - the value of the field font name.text_font_size - the value of the field text font size.text_font_name - the value of the field text font name.markplan - the value of the field highlighting plan.prev - the user view after which the created object is inserted.
public DBMProductSet createUniqueProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
DBMProductSet prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.prev - the product set after which the created object is inserted.
public DBMProductSet createUniqueProductSet(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
int prod_set_type,
DBMProductSet prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.prod_set_type - the product set type instance.prev - the product set after which the created object is inserted.
public DBMSchema createUniqueSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
DBMSchema prev)
name - the value of the field name.short_name - the value of the field short name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.type - the value of the field type.prev - the schema after which the created object is inserted.
public DBMSchema createUniqueSchema(java.lang.String name,
java.lang.String short_name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
char type,
int schema_type,
DBMSchema prev)
name - the value of the field name.short_name - the value of the field short name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.type - the value of the field type.schema_type - the schema type instance.prev - the schema after which the created object is inserted.
public DBMText createUniqueText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
DBMText prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.path - the value of the field path.type_of_file - the value of the field file type.prev - the text after which the created object is inserted.
public DBMText createUniqueText(java.lang.String name,
java.lang.String version,
java.util.Date creation_date,
java.util.Date last_update,
java.lang.String path,
java.lang.String type_of_file,
int text_type,
DBMText prev)
name - the value of the field name.version - the value of the field version.creation_date - the value of the field creation date.last_update - the value of the field last update.path - the value of the field path.type_of_file - the value of the field file type.text_type - the text type instance.prev - the text after which the created object is inserted.
public DBMUserView getFirstUserView()
public DBMUserView getLastUserView()
public DBMUserView getNextUserView(DBMUserView cur)
cur - the current user view.
public DBMUserView getPreviousUserView(DBMUserView cur)
cur - the current user view.
public void addFirstUserView(DBMUserView cur)
cur - the added user view.
public void addNextUserView(DBMUserView cur,
DBMUserView prev)
cur - the added user view.prev - the user view after which the user view cur is inserted.public void removeUserView()
public DBMNoteRelation getFirstNoteRelation()
getFirstNoteRelation in class DBMGenericObjectpublic DBMNoteRelation getLastNoteRelation()
getLastNoteRelation in class DBMGenericObjectpublic DBMNoteRelation getNextNoteRelation(DBMNoteRelation cur)
getNextNoteRelation in class DBMGenericObjectcur - the current note relation.
public DBMNoteRelation getPreviousNoteRelation(DBMNoteRelation cur)
getPreviousNoteRelation in class DBMGenericObjectcur - the current note relation.
public void addFirstNoteRelation(DBMNoteRelation cur)
addFirstNoteRelation in class DBMGenericObjectcur - the added note relation.
public void addNextNoteRelation(DBMNoteRelation cur,
DBMNoteRelation prev)
addNextNoteRelation in class DBMGenericObjectcur - the added note relation.prev - the note relation after which the note relation cur is inserted.public void removeNoteRelation()
removeNoteRelation in class DBMGenericObjectpublic 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()
public DBMMetaObject getFirstMetaObject()
public DBMMetaObject getLastMetaObject()
public DBMMetaObject getNextMetaObject(DBMMetaObject cur)
cur - the current meta-object.
public DBMMetaObject getPreviousMetaObject(DBMMetaObject cur)
cur - the current meta-object.
public DBMMetaProperty createMetaProperty(java.lang.String name,
char type,
int funct,
DBMMetaProperty prev,
short objType)
name - the value of the field name.type - the value of the field type.funct - the value of the field function.prev - the meta-property after which the created object is inserted.objType - the type of meta object for which the meta property must be
created (must be equal to object type of generic object).
public DBMSchema findSchema(java.lang.String name,
java.lang.String version)
name - the name of the schema that must be found.version - the version of the schema that must be found.
public DBMText findText(java.lang.String name,
java.lang.String version)
name - the name of the text that must be found.version - the version of the text that must be found.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||