|
||||||||
| 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.DBMNote
public class DBMNote
The DBMNote class represents note objects of the DB-MAIN repository.
A note can have several note relations.
| 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 | |
|---|---|
DBMNote(int id)
Creates a new instance of the DBMNote class representing the note identified by id and the current project in DB-MAIN. |
|
DBMNote(int id,
long sysid)
Creates a new instance of the DBMNote class representing the note 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 note in the DB-MAIN repository. |
void |
addNextNoteRelation(DBMNoteRelation cur,
DBMNoteRelation prev)
Adds a note relation (cur) following the note relation (prev) to the current note in the DB-MAIN repository. |
void |
deleteNote()
Deletes the note of the DB-MAIN repository represented by the current DBMNote instance. |
java.lang.String |
getDescription()
Returns the description of the current note. |
DBMNoteRelation |
getFirstNoteRelation()
Returns the first note relation of the current note in the DB-MAIN repository. |
DBMNoteRelation |
getLastNoteRelation()
Returns the last note relation of the current note in the DB-MAIN repository. |
DBMNoteRelation |
getNextNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current note) that follows the note relation cur in the DB-MAIN repository. |
DBMNoteRelation |
getPreviousNoteRelation(DBMNoteRelation cur)
Returns the note relation (of the current note) that precedes the note relation cur in the DB-MAIN repository. |
void |
removeNoteRelation()
Removes the list of note relation attached to the current note in the DB-MAIN repository. |
void |
setDescription(java.lang.String val)
Updates the value of description in the current note in the DB-MAIN repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DBMNote(int id,
long sysid)
id - the object identifier of a note.sysid - the system identifier of a note.public DBMNote(int id)
id - the object identifier of a note.| Method Detail |
|---|
public java.lang.String getDescription()
public void setDescription(java.lang.String val)
val - the new String value of the field Description.public void deleteNote()
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 DBMGenericObject
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||