com.dbmain.jidbm
Class DBMProcessingUnitCardinality

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

public class DBMProcessingUnitCardinality
extends DBMConcreteObject

The DBMProcessingUnitCardinality class represents processing unit cardinality objects of the DB-MAIN repository.


Field Summary
static int N_CARD
          Constant of field maximumCardinality: Infinity value (N).
 
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
DBMProcessingUnitCardinality(int id)
          Creates a new instance of the DBMProcessingUnitCardinality class representing the processing unit cardinality identified by id and the current project in DB-MAIN.
DBMProcessingUnitCardinality(int id, long sysid)
          Creates a new instance of the DBMProcessingUnitCardinality class representing the processing unit cardinality identified by id and sysid in the DB-MAIN repository.
 
Method Summary
 void deleteProcessingUnitCardinality()
          Deletes the processing unit cardinality of the DB-MAIN repository represented by the current DBMProcessingUnitCardinality instance.
 DBMConsumption getConsumption()
          Returns the consumption of the current processing unit cardinality.
 int getMaximumCardinality()
          Returns the maximum cardinality of the current processing unit cardinality.
 int getMinimumCardinality()
          Returns the minimum cardinality of the current processing unit cardinality.
 DBMProcessingUnit getProcessingUnit()
          Returns the processing unit of the current processing unit cardinality.
 void removeConsumption()
          Removes the consumption attached to the current processing unit cardinality in the DB-MAIN repository.
 void removeProcessingUnit()
          Removes the processing unit attached to the current processing unit cardinality in the DB-MAIN repository.
 void setMaximumCardinality(int val)
          Updates the value of maximum cardinality in the current processing unit cardinality in the DB-MAIN repository.
 void setMinimumCardinality(int val)
          Updates the value of minimum cardinality in the current processing unit cardinality 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
 

Field Detail

N_CARD

public static final int N_CARD
Constant of field maximumCardinality: Infinity value (N).

See Also:
Constant Field Values
Constructor Detail

DBMProcessingUnitCardinality

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

Parameters:
id - the object identifier of a processing unit cardinality.
sysid - the system identifier of a processing unit cardinality.

DBMProcessingUnitCardinality

public DBMProcessingUnitCardinality(int id)
Creates a new instance of the DBMProcessingUnitCardinality class representing the processing unit cardinality identified by id and the current project in DB-MAIN.

Parameters:
id - the object identifier of a processing unit cardinality.
Method Detail

getMinimumCardinality

public int getMinimumCardinality()
Returns the minimum cardinality of the current processing unit cardinality.

Returns:
the int value of the field minimumCardinality.

setMinimumCardinality

public void setMinimumCardinality(int val)
Updates the value of minimum cardinality in the current processing unit cardinality in the DB-MAIN repository.

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

getMaximumCardinality

public int getMaximumCardinality()
Returns the maximum cardinality of the current processing unit cardinality.

Returns:
the int value of the field maximumCardinality.

setMaximumCardinality

public void setMaximumCardinality(int val)
Updates the value of maximum cardinality in the current processing unit cardinality in the DB-MAIN repository.

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

deleteProcessingUnitCardinality

public void deleteProcessingUnitCardinality()
Deletes the processing unit cardinality of the DB-MAIN repository represented by the current DBMProcessingUnitCardinality instance.


getProcessingUnit

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

Returns:
the DBMProcessingUnit instance representing the processing unit.

removeProcessingUnit

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


getConsumption

public DBMConsumption getConsumption()
Returns the consumption of the current processing unit cardinality.

Returns:
the DBMConsumption instance representing the consumption.

removeConsumption

public void removeConsumption()
Removes the consumption attached to the current processing unit cardinality in the DB-MAIN repository.