org.modelsphere.sms.be.db
Class DbBEUseCaseResource

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.sms.be.db.DbBEUseCaseResource

public final class DbBEUseCaseResource
extends DbObject

Direct subclass(es)/subinterface(s) : none.
Composites : DbBEUseCase.
Components : none.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaField fDescription
           
static MetaRelation1 fResource
           
static MetaField fRole
           
static MetaField fUsageRate
           
static MetaField fUsageRateTimeUnit
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.jack.baseDb.db.DbObject
ACCESS_GRANTED, ACCESS_NOT_GRANTED, fComponents, fComposite, fCreationTime, fModificationTime, fUdfValues, fValidationStatus, LONG_FORM, SHORT_FORM, VALIDATION_ERROR, VALIDATION_OK, VALIDATION_WARNING, writeAccess
 
Constructor Summary
DbBEUseCaseResource()
          Parameter-less constructor.
DbBEUseCaseResource(DbObject composite, DbBEResource resource)
          Creates an instance of DbBEUseCaseResource.
 
Method Summary
 java.lang.String getDescription()
          Gets the "description" property of a DbBEUseCaseResource's instance.
 MetaClass getMetaClass()
           
 java.lang.String getName()
           
 DbBEResource getResource()
          Gets the resource object associated to a DbBEUseCaseResource's instance.
 java.lang.String getRole()
          Gets the "role" property of a DbBEUseCaseResource's instance.
 java.lang.String getSemanticalName(int form)
           
 java.lang.Double getUsageRate()
          Gets the "usage rate" of a DbBEUseCaseResource's instance.
 BETimeUnit getUsageRateTimeUnit()
          Gets the "usage rate time unit" of a DbBEUseCaseResource's instance.
static void initMeta()
          For internal use only.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setDescription(java.lang.String value)
          Sets the "description" property of a DbBEUseCaseResource's instance.
 void setResource(DbBEResource value)
          Sets the resource object associated to a DbBEUseCaseResource's instance.
 void setRole(java.lang.String value)
          Sets the "role" property of a DbBEUseCaseResource's instance.
 void setUsageRate(java.lang.Double value)
          Sets the "usage rate" property of a DbBEUseCaseResource's instance.
 void setUsageRateTimeUnit(BETimeUnit value)
          Sets the "usage rate time unit" property of a DbBEUseCaseResource's instance.
 
Methods inherited from class org.modelsphere.jack.baseDb.db.DbObject
addDbRefreshListener, addDbRefreshListener, basicReinsert, basicSet, basicSet, buildFullNameString, buildFullNameString, componentTree, componentTree, componentTree, copyComponent, createComponent, createComponent, createRAMRelN, deepCopy, deepCopy, doDeleteAction, findComponentByName, findComponentByName, findMatchingObject, generateEDCTimestamp, get, get, get, getAccordingToStatus, getComponents, getComposite, getCompositeOfType, getCreationTime, getDb, getDependencyRelations, getEDCTimestamp, getFullDisplayName, getId, getMatchingObject, getMinCard, getModificationTime, getNbNeighbors, getNextTs, getOld, getProject, getSemanticalIcon, getTransStatus, getTs, getUDF, getUdfValues, getValidationStatus, hasAdminAccess, hasChanged, hasField, hasWriteAccess, isAddedAndRemoved, isAlive, isDeletable, isDescendingFrom, isHugeRelN, load, load, matches, reinsert, remove, removeDbRefreshListener, save, set, setComposite, setMatchingObject, setModificationTime, setName, setRelationNN, setRelationNN, setValidationStatus, toString, valuesAreEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fRole

public static final MetaField fRole

fUsageRate

public static final MetaField fUsageRate

fUsageRateTimeUnit

public static final MetaField fUsageRateTimeUnit

fDescription

public static final MetaField fDescription

fResource

public static final MetaRelation1 fResource

metaClass

public static final MetaClass metaClass
Constructor Detail

DbBEUseCaseResource

public DbBEUseCaseResource()
Parameter-less constructor. Required by Java Beans Conventions.


DbBEUseCaseResource

public DbBEUseCaseResource(DbObject composite,
                           DbBEResource resource)
                    throws DbException
Creates an instance of DbBEUseCaseResource.

Parameters:
composite - org.modelsphere.jack.baseDb.db.DbObject
resource - org.modelsphere.sms.be.db.DbBEResource
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


getSemanticalName

public final java.lang.String getSemanticalName(int form)
                                         throws DbException
Overrides:
getSemanticalName in class DbObject
Parameters:
form - int
Returns:
string
Throws:
DbException

getName

public final java.lang.String getName()
                               throws DbException
Overrides:
getName in class DbObject
Returns:
string
Throws:
DbException

setRole

public final void setRole(java.lang.String value)
                   throws DbException
Sets the "role" property of a DbBEUseCaseResource's instance.

Parameters:
value - the "role" property
Throws:
DbException

setUsageRate

public final void setUsageRate(java.lang.Double value)
                        throws DbException
Sets the "usage rate" property of a DbBEUseCaseResource's instance.

Parameters:
value - the "usage rate" property
Throws:
DbException

setUsageRateTimeUnit

public final void setUsageRateTimeUnit(BETimeUnit value)
                                throws DbException
Sets the "usage rate time unit" property of a DbBEUseCaseResource's instance.

Parameters:
value - the "usage rate time unit" property
Throws:
DbException

setDescription

public final void setDescription(java.lang.String value)
                          throws DbException
Sets the "description" property of a DbBEUseCaseResource's instance.

Parameters:
value - the "description" property
Throws:
DbException

setResource

public final void setResource(DbBEResource value)
                       throws DbException
Sets the resource object associated to a DbBEUseCaseResource's instance.

Parameters:
value - the resource object to be associated
Throws:
DbException

set

public void set(MetaField metaField,
                java.lang.Object value)
         throws DbException
Overrides:
set in class DbObject
Throws:
DbException

set

public void set(MetaRelationN relation,
                DbObject neighbor,
                int op)
         throws DbException
Overrides:
set in class DbObject
Throws:
DbException

getRole

public final java.lang.String getRole()
                               throws DbException
Gets the "role" property of a DbBEUseCaseResource's instance.

Returns:
the "role" property
Throws:
DbException

getUsageRate

public final java.lang.Double getUsageRate()
                                    throws DbException
Gets the "usage rate" of a DbBEUseCaseResource's instance.

Returns:
the "usage rate"
Throws:
DbException

getUsageRateTimeUnit

public final BETimeUnit getUsageRateTimeUnit()
                                      throws DbException
Gets the "usage rate time unit" of a DbBEUseCaseResource's instance.

Returns:
the "usage rate time unit"
Throws:
DbException

getDescription

public final java.lang.String getDescription()
                                      throws DbException
Gets the "description" property of a DbBEUseCaseResource's instance.

Returns:
the "description" property
Throws:
DbException

getResource

public final DbBEResource getResource()
                               throws DbException
Gets the resource object associated to a DbBEUseCaseResource's instance.

Returns:
the resource object
Throws:
DbException

getMetaClass

public MetaClass getMetaClass()
Specified by:
getMetaClass in class DbObject


Open ModelSphere 2007. All Rights Reserved.