|
||||||||
| 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.DBMUserView
public class DBMUserView
The DBMUserView class represents user view objects of the DB-MAIN repository.
A user view can have several user objects.
| Field Summary | |
|---|---|
static short |
COMPACT
Constant of field type: Compact textual view. |
static short |
EXTENDED
Constant of field type: Extended textual view. |
static short |
GRAPH_COMPACT
Constant of field type: Compact graphical view. |
static short |
GRAPH_DEPENDENCY
Constant of field type: Dependency graphical view. |
static short |
GRAPH_STANDARD
Constant of field type: Standard graphical view. |
static short |
SORTED
Constant of field type: Sorted textual view. |
static short |
STANDARD
Constant of field type: Standard textual view. |
| 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 | |
|---|---|
DBMUserView(int id)
Creates a new instance of the DBMUserView class representing the user view identified by id and the current project in DB-MAIN. |
|
DBMUserView(int id,
long sysid)
Creates a new instance of the DBMUserView class representing the user view identified by id and sysid in the DB-MAIN repository. |
|
| Method Summary | |
|---|---|
void |
addFirstUserObject(DBMUserObject cur)
Adds a first user object (cur) to the current user view in the DB-MAIN repository. |
void |
addNextUserObject(DBMUserObject cur,
DBMUserObject prev)
Adds a user object (cur) following the user object (prev) to the current user view in the DB-MAIN repository. |
DBMUserObject |
createUserObject(int posx,
int posy,
int color,
DBMGenericObject generic_object)
Creates a new instance of user object attached to the current user view in the DB-MAIN repository. |
void |
deleteUserView()
Deletes the user view of the DB-MAIN repository represented by the current DBMUserView instance. |
DBMUserObject |
getFirstUserObject()
Returns the first user object of the current user view in the DB-MAIN repository. |
java.lang.String |
getFontName()
Returns the font name of the current user view. |
short |
getFontSize()
Returns the font size of the current user view. |
int |
getHighlightingPlan()
Returns the highlighting plan of the current user view. |
DBMUserObject |
getLastUserObject()
Returns the last user object of the current user view in the DB-MAIN repository. |
java.lang.String |
getName()
Returns the name of the current user view. |
DBMUserObject |
getNextUserObject(DBMUserObject cur)
Returns the user object (of the current user view) that follows the user object cur in the DB-MAIN repository. |
DBMUserObject |
getPreviousUserObject(DBMUserObject cur)
Returns the user object (of the current user view) that precedes the user object cur in the DB-MAIN repository. |
short |
getReduce()
Returns the reduce of the current user view. |
java.lang.String |
getTextFontName()
Returns the text font name of the current user view. |
short |
getTextFontSize()
Returns the text font size of the current user view. |
short |
getType()
Returns the type of the current user view. |
java.lang.String |
getTypeName()
Returns the type constant name of the current user view. |
DBMGenericObject |
getUserViewOwner()
Returns the generic object of the current user view. |
int |
getXGrid()
Returns the x grid of the current user view. |
int |
getYGrid()
Returns the y grid of the current user view. |
short |
getZoom()
Returns the zoom of the current user view. |
void |
removeUserObject()
Removes the list of user object attached to the current user view in the DB-MAIN repository. |
void |
removeUserViewOwner()
Removes the generic object attached to the current user view in the DB-MAIN repository. |
void |
setFontName(java.lang.String val)
Updates the value of font name in the current user view in the DB-MAIN repository. |
void |
setFontSize(short val)
Updates the value of font size in the current user view in the DB-MAIN repository. |
void |
setHighlightingPlan(int val)
Updates the value of highlighting plan in the current user view in the DB-MAIN repository. |
void |
setName(java.lang.String val)
Updates the value of name in the current user view in the DB-MAIN repository. |
void |
setReduce(short val)
Updates the value of reduce in the current user view in the DB-MAIN repository. |
void |
setTextFontName(java.lang.String val)
Updates the value of text font name in the current user view in the DB-MAIN repository. |
void |
setTextFontSize(short val)
Updates the value of text font size in the current user view in the DB-MAIN repository. |
void |
setType(short val)
Updates the value of type in the current user view in the DB-MAIN repository. |
void |
setXGrid(int val)
Updates the value of x grid in the current user view in the DB-MAIN repository. |
void |
setYGrid(int val)
Updates the value of y grid in the current user view in the DB-MAIN repository. |
void |
setZoom(short val)
Updates the value of zoom in the current user view in the DB-MAIN repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final short COMPACT
public static final short STANDARD
public static final short EXTENDED
public static final short SORTED
public static final short GRAPH_COMPACT
public static final short GRAPH_STANDARD
public static final short GRAPH_DEPENDENCY
| Constructor Detail |
|---|
public DBMUserView(int id,
long sysid)
id - the object identifier of a user view.sysid - the system identifier of a user view.public DBMUserView(int id)
id - the object identifier of a user view.| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String val)
val - the new String value of the field Name.public short getType()
public java.lang.String getTypeName()
public void setType(short val)
val - the new short value of the field Type.public short getZoom()
public void setZoom(short val)
val - the new short value of the field Zoom.public short getReduce()
public void setReduce(short val)
val - the new short value of the field Reduce.public int getXGrid()
public void setXGrid(int val)
val - the new int value of the field XGrid.public int getYGrid()
public void setYGrid(int val)
val - the new int value of the field YGrid.public short getFontSize()
public void setFontSize(short val)
val - the new short value of the field FontSize.public java.lang.String getFontName()
public void setFontName(java.lang.String val)
val - the new String value of the field FontName.public short getTextFontSize()
public void setTextFontSize(short val)
val - the new short value of the field TextFontSize.public java.lang.String getTextFontName()
public void setTextFontName(java.lang.String val)
val - the new String value of the field TextFontName.public int getHighlightingPlan()
public void setHighlightingPlan(int val)
val - the new int value of the field HighlightingPlan.public void deleteUserView()
public DBMUserObject createUserObject(int posx,
int posy,
int color,
DBMGenericObject generic_object)
posx - the value of the field x position.posy - the value of the field y position.color - the value of the field color.generic_object - the generic object linked to the created object.
public DBMUserObject getFirstUserObject()
getFirstUserObject in class DBMGenericObjectpublic DBMUserObject getLastUserObject()
getLastUserObject in class DBMGenericObjectpublic DBMUserObject getNextUserObject(DBMUserObject cur)
getNextUserObject in class DBMGenericObjectcur - the current user object.
public DBMUserObject getPreviousUserObject(DBMUserObject cur)
getPreviousUserObject in class DBMGenericObjectcur - the current user object.
public void addFirstUserObject(DBMUserObject cur)
addFirstUserObject in class DBMGenericObjectcur - the added user object.
public void addNextUserObject(DBMUserObject cur,
DBMUserObject prev)
addNextUserObject in class DBMGenericObjectcur - the added user object.prev - the user object after which the user object cur is inserted.public void removeUserObject()
removeUserObject in class DBMGenericObjectpublic DBMGenericObject getUserViewOwner()
public void removeUserViewOwner()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||