com.dbmain.jidbm
Class DBMResourceSubType

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

public class DBMResourceSubType
extends DBMConcreteObject

The DBMResourceSubType class represents resource 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
DBMResourceSubType(int id)
          Creates a new instance of the DBMResourceSubType class representing the resource sub-type identified by id and the current project in DB-MAIN.
DBMResourceSubType(int id, long sysid)
          Creates a new instance of the DBMResourceSubType class representing the resource sub-type identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteResourceSubType()
          Deletes the resource sub-type of the DB-MAIN repository represented by the current DBMResourceSubType instance.
 DBMResource getGeneralizeResource()
          Returns the resource of the current resource sub-type.
 DBMResource getSpecializeResource()
          Returns the resource of the current resource sub-type.
 void removeGeneralizeResource()
          Removes the resource attached to the current resource sub-type in the DB-MAIN repository.
 void removeSpecializeResource()
          Removes the resource attached to the current resource sub-type 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, removeState, 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
 

Constructor Detail

DBMResourceSubType

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

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

DBMResourceSubType

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

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

deleteResourceSubType

public void deleteResourceSubType()
Deletes the resource sub-type of the DB-MAIN repository represented by the current DBMResourceSubType instance.


getSpecializeResource

public DBMResource getSpecializeResource()
Returns the resource of the current resource sub-type.

Returns:
the DBMResource instance representing the resource.

removeSpecializeResource

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


getGeneralizeResource

public DBMResource getGeneralizeResource()
Returns the resource of the current resource sub-type.

Returns:
the DBMResource instance representing the resource.

removeGeneralizeResource

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