|
||||||||
| 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.DBMText
public class DBMText
The DBMText class represents text objects of the DB-MAIN repository.
A text can have several user views, note relations and text lines.
| Field Summary | |
|---|---|
static java.lang.String |
FILE_GEN_DIC
Constant of field fileType: Report generation file. |
static java.lang.String |
FILE_GEN_SQL_AC
Constant of field fileType: Academic SQL generation file. |
static java.lang.String |
FILE_GEN_SQL_ACCESS
Constant of field fileType: Access generation file. |
static java.lang.String |
FILE_GEN_SQL_FIREBIRD
Constant of field fileType: Firebird generation file. |
static java.lang.String |
FILE_GEN_SQL_MYSQL
Constant of field fileType: MySQL generation file. |
static java.lang.String |
FILE_GEN_SQL_POSTGRESQL
Constant of field fileType: PostgreSQL generation file. |
static java.lang.String |
FILE_GEN_SQL_SQLITE
Constant of field fileType: SQLite generation file. |
static java.lang.String |
FILE_GEN_SQL_STD
Constant of field fileType: Standard SQL generation file. |
static java.lang.String |
FILE_XTR_COB
Constant of field fileType: COBOL extraction file. |
static java.lang.String |
FILE_XTR_COD
Constant of field fileType: CODASYL extraction file. |
static java.lang.String |
FILE_XTR_IMS
Constant of field fileType: IMS extraction file. |
static java.lang.String |
FILE_XTR_SQL
Constant of field fileType: SQL extraction file. |
| 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 | |
|---|---|
DBMText(int id)
Creates a new instance of the DBMText class representing the text identified by id and the current project in DB-MAIN. |
|
DBMText(int id,
long sysid)
Creates a new instance of the DBMText class representing the text identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstNoteRelation(DBMNoteRelation cur)
Adds a first note relation (cur) to the current text in the DB-MAIN repository. |
void |
addFirstTextLine(DBMTextLine cur)
Adds a first text line (cur) to the current text in the DB-MAIN repository. |
void |
addFirstUserView(DBMUserView cur)
Adds a first user view (cur) to the current text in the DB-MAIN repository. |
void |
addNextNoteRelation(DBMNoteRelation cur,
DBMNoteRelation prev)
Adds a note relation (cur) following the note relation (prev) to the current text in the DB-MAIN repository. |
void |
addNextTextLine(DBMTextLine cur,
DBMTextLine prev)
Adds a text line (cur) following the text line (prev) to the current text in the DB-MAIN repository. |
void |
addNextUserView(DBMUserView cur,
DBMUserView prev)
Adds a user view (cur) following the user view (prev) to the current text in the DB-MAIN repository. |
DBMTextLine |
createTextLine(int num)
Creates a new instance of text line attached to the current text 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 text 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 text in the DB-MAIN repository. |
void |
deleteText()
Deletes the text of the DB-MAIN repository represented by the current DBMText instance. |
java.lang.String |
getFileType()
Returns the file type of the current text. |
DBMNoteRelation |
getFirstNoteRelation()
Returns the first note relation of the current text in the DB-MAIN repository. |
DBMTextLine |
getFirstTextLine()
Returns the first text line of the current text in the DB-MAIN repository. |
DBMUserView |
getFirstUserView()
Returns the first user view of the current text in the DB-MAIN repository. |
DBMNoteRelation |
getLastNoteRelation()
Returns the last note relation of the current text in the DB-MAIN repository. |
DBMTextLine |
getLastTextLine()
Returns the last text line of the current text in the DB-MAIN repository. |
DBMUserView |
getLastUserView()
Returns the last user view of the current text in the DB-MAIN repository. |
DBMNoteRelation |
getNextNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current text) that follows the note relation cur in the DB-MAIN repository. |
DBMTextLine |
getNextTextLine(DBMTextLine cur)
Returns the text line (of the current text) that follows the text line cur in the DB-MAIN repository. |
DBMUserView |
getNextUserView(DBMUserView cur)
Returns the user view (of the current text) that follows the user view cur in the DB-MAIN repository. |
java.lang.String |
getPath()
Returns the path of the current text. |
DBMNoteRelation |
getPreviousNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current text) that precedes the note relation cur in the DB-MAIN repository. |
DBMTextLine |
getPreviousTextLine(DBMTextLine cur)
Returns the text line (of the current text) that precedes the text line cur in the DB-MAIN repository. |
DBMUserView |
getPreviousUserView(DBMUserView cur)
Returns the user view (of the current text) that precedes the user view cur in the DB-MAIN repository. |
void |
removeNoteRelation()
Removes the list of note relation attached to the current text in the DB-MAIN repository. |
void |
removeTextLine()
Removes the list of text line attached to the current text in the DB-MAIN repository. |
void |
removeUserView()
Removes the list of user view attached to the current text in the DB-MAIN repository. |
void |
setFileType(java.lang.String val)
Updates the value of file type in the current text in the DB-MAIN repository. |
void |
setPath(java.lang.String val)
Updates the value of path in the current text 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 |
| Field Detail |
|---|
public static final java.lang.String FILE_XTR_SQL
public static final java.lang.String FILE_XTR_COB
public static final java.lang.String FILE_XTR_COD
public static final java.lang.String FILE_XTR_IMS
public static final java.lang.String FILE_GEN_SQL_AC
public static final java.lang.String FILE_GEN_SQL_FIREBIRD
public static final java.lang.String FILE_GEN_SQL_ACCESS
public static final java.lang.String FILE_GEN_SQL_MYSQL
public static final java.lang.String FILE_GEN_SQL_POSTGRESQL
public static final java.lang.String FILE_GEN_SQL_SQLITE
public static final java.lang.String FILE_GEN_SQL_STD
public static final java.lang.String FILE_GEN_DIC
| Constructor Detail |
|---|
public DBMText(int id,
long sysid)
id - the object identifier of a text.sysid - the system identifier of a text.public DBMText(int id)
id - the object identifier of a text.| Method Detail |
|---|
public java.lang.String getPath()
public void setPath(java.lang.String val)
val - the new String value of the field Path.public java.lang.String getFileType()
public void setFileType(java.lang.String val)
val - the new String value of the field FileType.public void deleteText()
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 DBMTextLine createTextLine(int num)
num - the value of the field number.
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 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 DBMTextLine getFirstTextLine()
public DBMTextLine getLastTextLine()
public DBMTextLine getNextTextLine(DBMTextLine cur)
cur - the current text line.
public DBMTextLine getPreviousTextLine(DBMTextLine cur)
cur - the current text line.
public void addFirstTextLine(DBMTextLine cur)
cur - the added text line.
public void addNextTextLine(DBMTextLine cur,
DBMTextLine prev)
cur - the added text line.prev - the text line after which the text line cur is inserted.public void removeTextLine()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||