com.dbmain.jidbm
Class DBMProject

java.lang.Object
  extended by com.dbmain.jidbm.DBMGenericObject
      extended by com.dbmain.jidbm.DBMConcreteObject
          extended by com.dbmain.jidbm.DBMProject

public class DBMProject
extends DBMConcreteObject

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 com.dbmain.jidbm.DBMGenericObject
addFirstState, addFirstUserObject, addNextState, addNextUserObject, createNote, createNoteRelation, deleteGenericObject, equals, getFirstState, getFirstUserObject, getFlag, getLastState, getLastUserObject, getMetaPropertyBooleanListValue, getMetaPropertyBooleanValue, getMetaPropertyCharListValue, getMetaPropertyCharValue, getMetaPropertyDoubleListValue, getMetaPropertyDoubleValue, getMetaPropertyIntListValue, getMetaPropertyIntValue, getMetaPropertyListValue, getMetaPropertyStringListValue, getMetaPropertyStringValue, getMetaPropertyValue, getNextState, getNextUserObject, getObjectIdentifier, getObjectType, getObjectTypeName, getPreviousState, getPreviousUserObject, getProjectIdentifier, hashCode, isAttribute, isCluster, isCollection, isCompoundAttribute, isConcreteObject, isConnection, isConstraint, isConstraintMember, isConsumption, isDataObject, isElement, isElementRelation, isEntityRelationshipType, isEntityType, isEnvironment, isFlagConstant, isGroup, isMetaObject, isMetaProperty, isNote, isNoteRelation, isProcessingUnit, isProcessingUnitCardinality, isProduct, isProductSet, isProject, isRelationshipType, isResource, isResourceCardinality, isResourceSubType, isRole, isSchema, isSimpleAttribute, isState, isSubType, isText, isTextLine, isUserObject, isUserView, removeState, removeUserObject, setFlag, setFlagConstant, setMetaPropertyBooleanListValue, setMetaPropertyBooleanValue, setMetaPropertyCharListValue, setMetaPropertyCharValue, setMetaPropertyDoubleListValue, setMetaPropertyDoubleValue, setMetaPropertyIntListValue, setMetaPropertyIntValue, setMetaPropertyListValue, setMetaPropertyStringListValue, setMetaPropertyStringValue, setMetaPropertyValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBMProject

public DBMProject(long sysid)
Creates a new instance of the DBMProject class representing the project identified by sysid in the DB-MAIN repository.

Parameters:
sysid - the system identifier of a project.

DBMProject

public DBMProject()
Creates a new instance of the DBMProject class representing the project identified by the current project in DB-MAIN.

Method Detail

getCreationDate

public java.util.Date getCreationDate()
Returns the creation date of the current project.

Returns:
the Date value of the field creationDate.

setCreationDate

public void setCreationDate(java.util.Date val)
Updates the value of creation date in the current project in the DB-MAIN repository.

Parameters:
val - the new Date value of the field CreationDate.

getFilename

public java.lang.String getFilename()
Returns the filename of the current project.

Returns:
the String value of the field filename.

deleteProject

public void deleteProject()
Deletes the project of the DB-MAIN repository represented by the current DBMProject instance.


createUserView

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)
Creates a new instance of user view attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMUserView instance representing the new user view.

createProductSet

public 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.

Parameters:
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.
Returns:
the DBMProductSet instance representing the new product set.

createProductSet

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)
Creates a new instance of product set attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMProductSet instance representing the new product set.

createSchema

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)
Creates a new instance of schema attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMSchema instance representing the new schema.

createSchema

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)
Creates a new instance of schema attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMSchema instance representing the new schema.

createText

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)
Creates a new instance of text attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMText instance representing the new text.

createText

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)
Creates a new instance of text attached to the current project in the DB-MAIN repository.

Parameters:
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.
Returns:
the DBMText instance representing the new text.

createUniqueUserView

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)
Creates a new unique instance of user view attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMUserView instance representing the new unique user view.

createUniqueProductSet

public 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. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMProductSet instance representing the new unique product set.

createUniqueProductSet

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)
Creates a new unique instance of product set attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMProductSet instance representing the new unique product set.

createUniqueSchema

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)
Creates a new unique instance of schema attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMSchema instance representing the new unique schema.

createUniqueSchema

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)
Creates a new unique instance of schema attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMSchema instance representing the new unique schema.

createUniqueText

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)
Creates a new unique instance of text attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMText instance representing the new unique text.

createUniqueText

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)
Creates a new unique instance of text attached to the current project in the DB-MAIN repository. This method insures that the name of the created object is unique in the repository (suffix must be added).

Parameters:
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.
Returns:
the DBMText instance representing the new unique text.

getFirstUserView

public DBMUserView getFirstUserView()
Returns the first user view of the current project in the DB-MAIN repository.

Returns:
the DBMUserView instance representing the first user view.

getLastUserView

public DBMUserView getLastUserView()
Returns the last user view of the current project in the DB-MAIN repository.

Returns:
the DBMUserView instance representing the last user view.

getNextUserView

public DBMUserView getNextUserView(DBMUserView cur)
Returns the user view (of the current project) that follows the user view cur in the DB-MAIN repository.

Parameters:
cur - the current user view.
Returns:
the DBMUserView instance representing the next user view.

getPreviousUserView

public DBMUserView getPreviousUserView(DBMUserView cur)
Returns the user view (of the current project) that precedes the user view cur in the DB-MAIN repository.

Parameters:
cur - the current user view.
Returns:
the DBMUserView instance representing the previous user view.

addFirstUserView

public void addFirstUserView(DBMUserView cur)
Adds a first user view (cur) to the current project in the DB-MAIN repository.

Parameters:
cur - the added user view.

addNextUserView

public 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.

Parameters:
cur - the added user view.
prev - the user view after which the user view cur is inserted.

removeUserView

public void removeUserView()
Removes the list of user view attached to the current project in the DB-MAIN repository.


getFirstNoteRelation

public DBMNoteRelation getFirstNoteRelation()
Returns the first note relation of the current project in the DB-MAIN repository.

Overrides:
getFirstNoteRelation in class DBMGenericObject
Returns:
the DBMNoteRelation instance representing the first note relation.

getLastNoteRelation

public DBMNoteRelation getLastNoteRelation()
Returns the last note relation of the current project in the DB-MAIN repository.

Overrides:
getLastNoteRelation in class DBMGenericObject
Returns:
the DBMNoteRelation instance representing the last note relation.

getNextNoteRelation

public DBMNoteRelation getNextNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current project) that follows the note relation cur in the DB-MAIN repository.

Overrides:
getNextNoteRelation in class DBMGenericObject
Parameters:
cur - the current note relation.
Returns:
the DBMNoteRelation instance representing the next note relation.

getPreviousNoteRelation

public DBMNoteRelation getPreviousNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current project) that precedes the note relation cur in the DB-MAIN repository.

Overrides:
getPreviousNoteRelation in class DBMGenericObject
Parameters:
cur - the current note relation.
Returns:
the DBMNoteRelation instance representing the previous note relation.

addFirstNoteRelation

public void addFirstNoteRelation(DBMNoteRelation cur)
Adds a first note relation (cur) to the current project in the DB-MAIN repository.

Overrides:
addFirstNoteRelation in class DBMGenericObject
Parameters:
cur - the added note relation.

addNextNoteRelation

public 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.

Overrides:
addNextNoteRelation in class DBMGenericObject
Parameters:
cur - the added note relation.
prev - the note relation after which the note relation cur is inserted.

removeNoteRelation

public void removeNoteRelation()
Removes the list of note relation attached to the current project in the DB-MAIN repository.

Overrides:
removeNoteRelation in class DBMGenericObject

getFirstProduct

public DBMProduct getFirstProduct()
Returns the first product of the current project in the DB-MAIN repository.

Returns:
the DBMProduct instance representing the first product.

getLastProduct

public DBMProduct getLastProduct()
Returns the last product of the current project in the DB-MAIN repository.

Returns:
the DBMProduct instance representing the last product.

getNextProduct

public DBMProduct getNextProduct(DBMProduct cur)
Returns the product (of the current project) that follows the product cur in the DB-MAIN repository.

Parameters:
cur - the current product.
Returns:
the DBMProduct instance representing the next product.

getPreviousProduct

public DBMProduct getPreviousProduct(DBMProduct cur)
Returns the product (of the current project) that precedes the product cur in the DB-MAIN repository.

Parameters:
cur - the current product.
Returns:
the DBMProduct instance representing the previous product.

getFirstProductProductSet

public DBMProductSet getFirstProductProductSet()
Returns the first product set product of the current project in the DB-MAIN repository.

Returns:
the DBMProductSet instance representing the first product set.

getLastProductProductSet

public DBMProductSet getLastProductProductSet()
Returns the last product set product of the current project in the DB-MAIN repository.

Returns:
the DBMProductSet instance representing the last product set.

getNextProductProductSet

public DBMProductSet getNextProductProductSet(DBMProductSet cur)
Returns the product set product (of the current project) that follows the product set cur in the DB-MAIN repository.

Parameters:
cur - the current product set.
Returns:
the DBMProductSet instance representing the next product set.

getPreviousProductProductSet

public DBMProductSet getPreviousProductProductSet(DBMProductSet cur)
Returns the product set product (of the current project) that precedes the product set cur in the DB-MAIN repository.

Parameters:
cur - the current product set.
Returns:
the DBMProductSet instance representing the previous product set.

getFirstProductSchema

public DBMSchema getFirstProductSchema()
Returns the first schema product of the current project in the DB-MAIN repository.

Returns:
the DBMSchema instance representing the first schema.

getLastProductSchema

public DBMSchema getLastProductSchema()
Returns the last schema product of the current project in the DB-MAIN repository.

Returns:
the DBMSchema instance representing the last schema.

getNextProductSchema

public DBMSchema getNextProductSchema(DBMSchema cur)
Returns the schema product (of the current project) that follows the schema cur in the DB-MAIN repository.

Parameters:
cur - the current schema.
Returns:
the DBMSchema instance representing the next schema.

getPreviousProductSchema

public DBMSchema getPreviousProductSchema(DBMSchema cur)
Returns the schema product (of the current project) that precedes the schema cur in the DB-MAIN repository.

Parameters:
cur - the current schema.
Returns:
the DBMSchema instance representing the previous schema.

getFirstProductText

public DBMText getFirstProductText()
Returns the first text product of the current project in the DB-MAIN repository.

Returns:
the DBMText instance representing the first text.

getLastProductText

public DBMText getLastProductText()
Returns the last text product of the current project in the DB-MAIN repository.

Returns:
the DBMText instance representing the last text.

getNextProductText

public DBMText getNextProductText(DBMText cur)
Returns the text product (of the current project) that follows the text cur in the DB-MAIN repository.

Parameters:
cur - the current text.
Returns:
the DBMText instance representing the next text.

getPreviousProductText

public DBMText getPreviousProductText(DBMText cur)
Returns the text product (of the current project) that precedes the text cur in the DB-MAIN repository.

Parameters:
cur - the current text.
Returns:
the DBMText instance representing the previous text.

addFirstProduct

public void addFirstProduct(DBMProduct cur)
Adds a first product (cur) to the current project in the DB-MAIN repository.

Parameters:
cur - the added product.

addNextProduct

public void addNextProduct(DBMProduct cur,
                           DBMProduct prev)
Adds a product (cur) following the product (prev) to the current project in the DB-MAIN repository.

Parameters:
cur - the added product.
prev - the product after which the product cur is inserted.

removeProduct

public void removeProduct()
Removes the list of product attached to the current project in the DB-MAIN repository.


getFirstMetaObject

public DBMMetaObject getFirstMetaObject()
Returns the first meta-object of the current project in the DB-MAIN repository.

Returns:
the DBMMetaObject instance representing the first meta-object.

getLastMetaObject

public DBMMetaObject getLastMetaObject()
Returns the last meta-object of the current project in the DB-MAIN repository.

Returns:
the DBMMetaObject instance representing the last meta-object.

getNextMetaObject

public DBMMetaObject getNextMetaObject(DBMMetaObject cur)
Returns the meta-object (of the current project) that follows the meta-object cur in the DB-MAIN repository.

Parameters:
cur - the current meta-object.
Returns:
the DBMMetaObject instance representing the next meta-object.

getPreviousMetaObject

public DBMMetaObject getPreviousMetaObject(DBMMetaObject cur)
Returns the meta-object (of the current project) that precedes the meta-object cur in the DB-MAIN repository.

Parameters:
cur - the current meta-object.
Returns:
the DBMMetaObject instance representing the previous meta-object.

createMetaProperty

public 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.

Parameters:
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).
Returns:
the DBMMetaProperty instance representing the new meta-property.

findSchema

public DBMSchema findSchema(java.lang.String name,
                            java.lang.String version)
returns the schema that have a specified name in the current project.

Parameters:
name - the name of the schema that must be found.
version - the version of the schema that must be found.
Returns:
a DBMSchema instance named 'name'/'version'.

findText

public DBMText findText(java.lang.String name,
                        java.lang.String version)
Returns the text that have a specified name in the current project.

Parameters:
name - the name of the text that must be found.
version - the version of the text that must be found.
Returns:
a DBMText instance named 'name'/'version'.