org.modelsphere.sms.or.db
Class DbORParameter

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.jack.baseDb.db.DbSemanticalObject
              extended by org.modelsphere.sms.db.DbSMSSemanticalObject
                  extended by org.modelsphere.sms.db.DbSMSTypedElement
                      extended by org.modelsphere.sms.db.DbSMSParameter
                          extended by org.modelsphere.sms.or.db.DbORParameter
Direct Known Subclasses:
DbIBMParameter, DbINFParameter, DbORAParameter

public abstract class DbORParameter
extends DbSMSParameter

Direct subclass(es)/subinterface(s) : DbORAParameter, DbIBMParameter, DbINFParameter, DbGEParameter.
Composites : none.
Components : DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaField fLength
           
static MetaField fNbDecimal
           
static MetaField fReference
           
static MetaRelation1 fType
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.db.DbSMSParameter
fDefaultValue, fPassingConvention
 
Fields inherited from class org.modelsphere.sms.db.DbSMSSemanticalObject
fObjectImports, fSourceLinks, fSubCopies, fSuperCopy, fTargetLinks, fUmlConstraints, fUmlStereotype
 
Fields inherited from class org.modelsphere.jack.baseDb.db.DbSemanticalObject
fAdminAccessList, fAlias, fDescription, fName, fPhysicalName, fWriteAccessList
 
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
DbORParameter()
          Parameter-less constructor.
DbORParameter(DbObject composite)
          Creates an instance of DbORParameter.
 
Method Summary
 java.lang.Integer getLength()
          Gets the "length" of a DbORParameter's instance.
 java.lang.Integer getNbDecimal()
          Gets the "nbr. decimals" of a DbORParameter's instance.
 java.lang.Boolean getReference()
          Deprecated. use isReference() method instead
 javax.swing.Icon getSemanticalIcon(int form)
           
 DbORTypeClassifier getType()
          Gets the type object associated to a DbORParameter's instance.
static void initMeta()
          For internal use only.
 boolean isReference()
          Tells whether a DbORParameter's instance is reference or not.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setLength(java.lang.Integer value)
          Sets the "length" property of a DbORParameter's instance.
 void setNbDecimal(java.lang.Integer value)
          Sets the "nbr. decimals" property of a DbORParameter's instance.
 void setReference(java.lang.Boolean value)
          Sets the "reference" property of a DbORParameter's instance.
 void setType(DbORTypeClassifier value)
          Sets the type object associated to a DbORParameter's instance.
 
Methods inherited from class org.modelsphere.sms.db.DbSMSParameter
getDefaultValue, getPassingConvention, setDefaultValue, setPassingConvention
 
Methods inherited from class org.modelsphere.sms.db.DbSMSSemanticalObject
addToSourceLinks, addToTargetLinks, addToUmlConstraints, getObjectImports, getSourceLinks, getSubCopies, getSuperCopy, getTargetLinks, getUmlConstraints, getUmlStereotype, removeFromSourceLinks, removeFromTargetLinks, removeFromUmlConstraints, setSourceLinks, setSuperCopy, setTargetLinks, setUmlConstraints, setUmlStereotype
 
Methods inherited from class org.modelsphere.jack.baseDb.db.DbSemanticalObject
findComponentByPhysicalName, getAdminAccessList, getAlias, getDescription, getName, getPhysicalName, getWriteAccessList, matches, setAlias, setDescription, setName, setPhysicalName
 
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, getMetaClass, getMinCard, getModificationTime, getNbNeighbors, getNextTs, getOld, getProject, getSemanticalName, getTransStatus, getTs, getUDF, getUdfValues, getValidationStatus, hasAdminAccess, hasChanged, hasField, hasWriteAccess, isAddedAndRemoved, isAlive, isDeletable, isDescendingFrom, isHugeRelN, load, load, reinsert, remove, removeDbRefreshListener, save, set, setComposite, setMatchingObject, setModificationTime, setRelationNN, setRelationNN, setValidationStatus, toString, valuesAreEqual
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fType

public static final MetaRelation1 fType

fLength

public static final MetaField fLength

fNbDecimal

public static final MetaField fNbDecimal

fReference

public static final MetaField fReference

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORParameter

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


DbORParameter

public DbORParameter(DbObject composite)
              throws DbException
Creates an instance of DbORParameter.

Parameters:
composite - the object which will contain the newly-created instance
Throws:
DbException
Method Detail

initMeta

public static void initMeta()
For internal use only.


getSemanticalIcon

public final javax.swing.Icon getSemanticalIcon(int form)
                                         throws DbException
Overrides:
getSemanticalIcon in class DbObject
Parameters:
form - int
Returns:
icon
Throws:
DbException

setType

public final void setType(DbORTypeClassifier value)
                   throws DbException
Sets the type object associated to a DbORParameter's instance.

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

setLength

public final void setLength(java.lang.Integer value)
                     throws DbException
Sets the "length" property of a DbORParameter's instance.

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

setNbDecimal

public final void setNbDecimal(java.lang.Integer value)
                        throws DbException
Sets the "nbr. decimals" property of a DbORParameter's instance.

Parameters:
value - the "nbr. decimals" property
Throws:
DbException

setReference

public final void setReference(java.lang.Boolean value)
                        throws DbException
Sets the "reference" property of a DbORParameter's instance.

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

set

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

set

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

getType

public final DbORTypeClassifier getType()
                                 throws DbException
Gets the type object associated to a DbORParameter's instance.

Returns:
the type object
Throws:
DbException

getLength

public final java.lang.Integer getLength()
                                  throws DbException
Gets the "length" of a DbORParameter's instance.

Returns:
the "length"
Throws:
DbException

getNbDecimal

public final java.lang.Integer getNbDecimal()
                                     throws DbException
Gets the "nbr. decimals" of a DbORParameter's instance.

Returns:
the "nbr. decimals"
Throws:
DbException

getReference

public final java.lang.Boolean getReference()
                                     throws DbException
Deprecated. use isReference() method instead

Gets the "reference" property's Boolean value of a DbORParameter's instance.

Returns:
the "reference" property's Boolean value
Throws:
DbException

isReference

public final boolean isReference()
                          throws DbException
Tells whether a DbORParameter's instance is reference or not.

Returns:
boolean
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.