org.modelsphere.sms.or.db
Class DbORAttribute

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.DbSMSFeature
                          extended by org.modelsphere.sms.db.DbSMSStructuralFeature
                              extended by org.modelsphere.sms.or.db.DbORAttribute
Direct Known Subclasses:
DbORColumn, DbORField

public abstract class DbORAttribute
extends DbSMSStructuralFeature

Direct subclass(es)/subinterface(s) : DbORColumn, DbORField.
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 MetaRelation1 fType
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.db.DbSMSStructuralFeature
fInitialValue
 
Fields inherited from class org.modelsphere.sms.db.DbSMSFeature
fOverriddenFeatures, fOverridingFeatures
 
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
DbORAttribute()
          Parameter-less constructor.
DbORAttribute(DbObject composite)
          Creates an instance of DbORAttribute.
 
Method Summary
 java.lang.Integer getLength()
          Gets the "length" of a DbORAttribute's instance.
 java.lang.String getLengthNbDecimal()
           
 java.lang.Integer getNbDecimal()
          Gets the "nbr. decimals" of a DbORAttribute's instance.
 DbORTypeClassifier getType()
          Gets the type object associated to a DbORAttribute'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 setLength(java.lang.Integer value)
          Sets the "length" property of a DbORAttribute's instance.
 void setNbDecimal(java.lang.Integer value)
          Sets the "nbr. decimals" property of a DbORAttribute's instance.
 void setType(DbORTypeClassifier value)
          Sets the type object associated to a DbORAttribute's instance.
 
Methods inherited from class org.modelsphere.sms.db.DbSMSStructuralFeature
getInitialValue, setInitialValue
 
Methods inherited from class org.modelsphere.sms.db.DbSMSFeature
addToOverriddenFeatures, addToOverridingFeatures, getOverriddenFeatures, getOverridingFeatures, removeFromOverriddenFeatures, removeFromOverridingFeatures, setOverriddenFeatures, setOverridingFeatures
 
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, getSemanticalIcon, 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

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORAttribute

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


DbORAttribute

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

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

initMeta

public static void initMeta()
For internal use only.


getLengthNbDecimal

public java.lang.String getLengthNbDecimal()
                                    throws DbException
Returns:
string
Throws:
DbException

setType

public final void setType(DbORTypeClassifier value)
                   throws DbException
Sets the type object associated to a DbORAttribute'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 DbORAttribute'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 DbORAttribute's instance.

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

set

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

set

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

getType

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

Returns:
the type object
Throws:
DbException

getLength

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

Returns:
the "length"
Throws:
DbException

getNbDecimal

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

Returns:
the "nbr. decimals"
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.