com.dbmain.jidbm
Class DBMSubType

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

public class DBMSubType
extends DBMGenericObject

The DBMSubType class represents sub-type 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
DBMSubType(int id)
          Creates a new instance of the DBMSubType class representing the sub-type identified by id and the current project in DB-MAIN.
DBMSubType(int id, long sysid)
          Creates a new instance of the DBMSubType class representing the sub-type identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteSubType()
          Deletes the sub-type of the DB-MAIN repository represented by the current DBMSubType instance.
 DBMCluster getCluster()
          Returns the cluster of the current sub-type.
 DBMEntityType getEntityType()
          Returns the entity type of the current sub-type.
 java.lang.String getValue()
          Returns the value of the current sub-type.
 void removeCluster()
          Removes the cluster attached to the current sub-type in the DB-MAIN repository.
 void removeEntityType()
          Removes the entity type attached to the current sub-type in the DB-MAIN repository.
 void setValue(java.lang.String val)
          Updates the value of value in the current sub-type 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

DBMSubType

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

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

DBMSubType

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

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

getValue

public java.lang.String getValue()
Returns the value of the current sub-type.

Returns:
the String value of the field value.

setValue

public void setValue(java.lang.String val)
Updates the value of value in the current sub-type in the DB-MAIN repository.

Parameters:
val - the new String value of the field Value.

deleteSubType

public void deleteSubType()
Deletes the sub-type of the DB-MAIN repository represented by the current DBMSubType instance.


getCluster

public DBMCluster getCluster()
Returns the cluster of the current sub-type.

Returns:
the DBMCluster instance representing the cluster.

removeCluster

public void removeCluster()
Removes the cluster attached to the current sub-type in the DB-MAIN repository.


getEntityType

public DBMEntityType getEntityType()
Returns the entity type of the current sub-type.

Returns:
the DBMEntityType instance representing the entity type.

removeEntityType

public void removeEntityType()
Removes the entity type attached to the current sub-type in the DB-MAIN repository.