com.dbmain.jidbm
Class DBMEnvironment

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

public class DBMEnvironment
extends DBMConcreteObject

The DBMEnvironment class represents environment objects of the DB-MAIN repository.


Field Summary
static char EXT_TYPE_PENV
          Constant of field type: Object flow with a data object of another schema.
static char IN_MODE_PENV
          Constant of field mode: Input object flow.
static char INT_TYPE_PENV
          Constant of field type: Object flow with a data object of the same schema.
static char OUT_MODE_PENV
          Constant of field mode: Output object flow.
static char UPD_MODE_PENV
          Constant of field mode: Update object flow.
 
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
DBMEnvironment(int id)
          Creates a new instance of the DBMEnvironment class representing the environment identified by id and the current project in DB-MAIN.
DBMEnvironment(int id, long sysid)
          Creates a new instance of the DBMEnvironment class representing the environment identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteEnvironment()
          Deletes the environment of the DB-MAIN repository represented by the current DBMEnvironment instance.
 char getMode()
          Returns the mode of the current environment.
 java.lang.String getModeName()
          Returns the mode constant name of the current environment.
 DBMProcessingUnit getProcessingUnit()
          Returns the processing unit of the current environment.
 DBMState getState()
          Returns the state of the current environment.
 char getType()
          Returns the type of the current environment.
 java.lang.String getTypeName()
          Returns the type constant name of the current environment.
 void removeProcessingUnit()
          Removes the processing unit attached to the current environment in the DB-MAIN repository.
 void removeState()
          Removes the state attached to the current environment in the DB-MAIN repository.
 void setMode(char val)
          Updates the value of mode in the current environment in the DB-MAIN repository.
 void setType(char val)
          Updates the value of type in the current environment 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
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, 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
 

Field Detail

EXT_TYPE_PENV

public static final char EXT_TYPE_PENV
Constant of field type: Object flow with a data object of another schema.

See Also:
Constant Field Values

INT_TYPE_PENV

public static final char INT_TYPE_PENV
Constant of field type: Object flow with a data object of the same schema.

See Also:
Constant Field Values

IN_MODE_PENV

public static final char IN_MODE_PENV
Constant of field mode: Input object flow.

See Also:
Constant Field Values

OUT_MODE_PENV

public static final char OUT_MODE_PENV
Constant of field mode: Output object flow.

See Also:
Constant Field Values

UPD_MODE_PENV

public static final char UPD_MODE_PENV
Constant of field mode: Update object flow.

See Also:
Constant Field Values
Constructor Detail

DBMEnvironment

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

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

DBMEnvironment

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

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

getType

public char getType()
Returns the type of the current environment.

Returns:
the char value of the field type.

getTypeName

public java.lang.String getTypeName()
Returns the type constant name of the current environment.

Returns:
the string representation of the field type.

setType

public void setType(char val)
Updates the value of type in the current environment in the DB-MAIN repository.

Parameters:
val - the new char value of the field Type.

getMode

public char getMode()
Returns the mode of the current environment.

Returns:
the char value of the field mode.

getModeName

public java.lang.String getModeName()
Returns the mode constant name of the current environment.

Returns:
the string representation of the field mode.

setMode

public void setMode(char val)
Updates the value of mode in the current environment in the DB-MAIN repository.

Parameters:
val - the new char value of the field Mode.

deleteEnvironment

public void deleteEnvironment()
Deletes the environment of the DB-MAIN repository represented by the current DBMEnvironment instance.


getState

public DBMState getState()
Returns the state of the current environment.

Returns:
the DBMState instance representing the state.

removeState

public void removeState()
Removes the state attached to the current environment in the DB-MAIN repository.

Overrides:
removeState in class DBMGenericObject

getProcessingUnit

public DBMProcessingUnit getProcessingUnit()
Returns the processing unit of the current environment.

Returns:
the DBMProcessingUnit instance representing the processing unit.

removeProcessingUnit

public void removeProcessingUnit()
Removes the processing unit attached to the current environment in the DB-MAIN repository.