com.dbmain.jidbm
Class DBMUserObject

java.lang.Object
  extended by com.dbmain.jidbm.DBMGenericObject
      extended by com.dbmain.jidbm.DBMUserObject

public class DBMUserObject
extends DBMGenericObject

The DBMUserObject class represents user object objects of the DB-MAIN repository.


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
DBMUserObject(int id)
          Creates a new instance of the DBMUserObject class representing the user object identified by id and the current project in DB-MAIN.
DBMUserObject(int id, long sysid)
          Creates a new instance of the DBMUserObject class representing the user object identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteUserObject()
          Deletes the user object of the DB-MAIN repository represented by the current DBMUserObject instance.
 int getColor()
          Returns the color of the current user object.
 DBMGenericObject getGenericObject()
          Returns the generic object of the current user object.
 DBMUserView getUserView()
          Returns the user view of the current user object.
 int getXPosition()
          Returns the x position of the current user object.
 int getYPosition()
          Returns the y position of the current user object.
 void removeGenericObject()
          Removes the generic object attached to the current user object in the DB-MAIN repository.
 void removeUserView()
          Removes the user view attached to the current user object in the DB-MAIN repository.
 void setColor(int val)
          Updates the value of color in the current user object in the DB-MAIN repository.
 void setXPosition(int val)
          Updates the value of x position in the current user object in the DB-MAIN repository.
 void setYPosition(int val)
          Updates the value of y position in the current user object in the DB-MAIN repository.
 
Methods inherited from class com.dbmain.jidbm.DBMGenericObject
addFirstNoteRelation, addFirstState, addFirstUserObject, addNextNoteRelation, addNextState, addNextUserObject, createNote, createNoteRelation, deleteGenericObject, equals, getFirstNoteRelation, getFirstState, getFirstUserObject, getFlag, getLastNoteRelation, getLastState, getLastUserObject, getMetaPropertyBooleanListValue, getMetaPropertyBooleanValue, getMetaPropertyCharListValue, getMetaPropertyCharValue, getMetaPropertyDoubleListValue, getMetaPropertyDoubleValue, getMetaPropertyIntListValue, getMetaPropertyIntValue, getMetaPropertyListValue, getMetaPropertyStringListValue, getMetaPropertyStringValue, getMetaPropertyValue, getNextNoteRelation, getNextState, getNextUserObject, getObjectIdentifier, getObjectType, getObjectTypeName, getPreviousNoteRelation, 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, removeNoteRelation, removeState, removeUserObject, setFlag, setFlagConstant, setMetaPropertyBooleanListValue, setMetaPropertyBooleanValue, setMetaPropertyCharListValue, setMetaPropertyCharValue, setMetaPropertyDoubleListValue, setMetaPropertyDoubleValue, setMetaPropertyIntListValue, setMetaPropertyIntValue, setMetaPropertyListValue, setMetaPropertyStringListValue, setMetaPropertyStringValue, setMetaPropertyValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBMUserObject

public DBMUserObject(int id,
                     long sysid)
Creates a new instance of the DBMUserObject class representing the user object identified by id and sysid in the DB-MAIN repository.

Parameters:
id - the object identifier of a user object.
sysid - the system identifier of a user object.

DBMUserObject

public DBMUserObject(int id)
Creates a new instance of the DBMUserObject class representing the user object identified by id and the current project in DB-MAIN.

Parameters:
id - the object identifier of a user object.
Method Detail

getXPosition

public int getXPosition()
Returns the x position of the current user object.

Returns:
the int value of the field xPosition.

setXPosition

public void setXPosition(int val)
Updates the value of x position in the current user object in the DB-MAIN repository.

Parameters:
val - the new int value of the field XPosition.

getYPosition

public int getYPosition()
Returns the y position of the current user object.

Returns:
the int value of the field yPosition.

setYPosition

public void setYPosition(int val)
Updates the value of y position in the current user object in the DB-MAIN repository.

Parameters:
val - the new int value of the field YPosition.

getColor

public int getColor()
Returns the color of the current user object.

Returns:
the int value of the field color.

setColor

public void setColor(int val)
Updates the value of color in the current user object in the DB-MAIN repository.

Parameters:
val - the new int value of the field Color.

deleteUserObject

public void deleteUserObject()
Deletes the user object of the DB-MAIN repository represented by the current DBMUserObject instance.


getUserView

public DBMUserView getUserView()
Returns the user view of the current user object.

Returns:
the DBMUserView instance representing the user view.

removeUserView

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


getGenericObject

public DBMGenericObject getGenericObject()
Returns the generic object of the current user object.

Returns:
the DBMGenericObject instance representing the generic object.

removeGenericObject

public void removeGenericObject()
Removes the generic object attached to the current user object in the DB-MAIN repository.