org.modelsphere.sms.or.db
Class DbORColumn

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
                                  extended by org.modelsphere.sms.or.db.DbORColumn
Direct Known Subclasses:
DbIBMColumn, DbINFColumn, DbORAColumn

public abstract class DbORColumn
extends DbORAttribute

Direct subclass(es)/subinterface(s) : DbORAColumn, DbIBMColumn, DbINFColumn, DbGEColumn.
Composites : none.
Components : DbSMSObjectImport.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaRelationN fChecks
           
static MetaRelation1 fCommonItem
           
static MetaRelationN fDestFKeyColumns
           
static MetaRelationN fFKeyColumns
           
static MetaField fForeign
           
static MetaRelationN fIndexKeys
           
static MetaField fNull
           
static MetaRelationN fPrimaryUniques
           
static MetaField fReference
           
static MetaRelationN fTriggers
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.or.db.DbORAttribute
fLength, fNbDecimal, fType
 
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
DbORColumn()
          Parameter-less constructor.
DbORColumn(DbObject composite)
          Creates an instance of DbORColumn.
 
Method Summary
 void addToPrimaryUniques(DbORPrimaryUnique value)
          Adds an element to the list of primary / unique keys associated to a DbORColumn's instance.
 void addToTriggers(DbORTrigger value)
          Adds an element to the list of triggers associated to a DbORColumn's instance.
 DbRelationN getChecks()
          Gets the list of check constraints associated to a DbORColumn's instance.
 DbORCommonItem getCommonItem()
          Gets the common item object associated to a DbORColumn's instance.
 DbRelationN getDestFKeyColumns()
          Gets the list of dest foreign keys associated to a DbORColumn's instance.
 DbRelationN getFKeyColumns()
          Gets the list of foreign keys associated to a DbORColumn's instance.
 java.lang.Boolean getForeign()
          Deprecated. use isForeign() method instead
 DbRelationN getIndexKeys()
          Gets the list of index keys associated to a DbORColumn's instance.
 java.lang.Boolean getNull()
          Deprecated. use isNull() method instead
 DbRelationN getPrimaryUniques()
          Gets the list of primary / unique keys associated to a DbORColumn's instance.
 java.lang.Boolean getReference()
          Deprecated. use isReference() method instead
protected  int getSecurityMask()
           
 DbRelationN getTriggers()
          Gets the list of triggers associated to a DbORColumn's instance.
static void initMeta()
          For internal use only.
 boolean isForeign()
          Tells whether a DbORColumn's instance is foreign or not.
 boolean isNull()
          Tells whether a DbORColumn's instance is null or not.
 boolean isReference()
          Tells whether a DbORColumn's instance is reference or not.
 void removeFromPrimaryUniques(DbORPrimaryUnique value)
          Removes an element from the list of primary / unique keys associated to a DbORColumn's instance.
 void removeFromTriggers(DbORTrigger value)
          Removes an element from the list of triggers associated to a DbORColumn's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setCommonItem(DbORCommonItem value)
          Sets the common item object associated to a DbORColumn's instance.
 void setForeign(java.lang.Boolean value)
          Sets the "foreign" property of a DbORColumn's instance.
 void setNull(java.lang.Boolean value)
          Sets the "null possible" property of a DbORColumn's instance.
 void setPrimaryUniques(DbORPrimaryUnique value, int op)
          Adds an element to or removes an element from the list of primary / unique keys associated to a DbORColumn's instance.
 void setReference(java.lang.Boolean value)
          Sets the "reference" property of a DbORColumn's instance.
 void setTriggers(DbORTrigger value, int op)
          Adds an element to or removes an element from the list of triggers associated to a DbORColumn's instance.
 
Methods inherited from class org.modelsphere.sms.or.db.DbORAttribute
getLength, getLengthNbDecimal, getNbDecimal, getType, setLength, setNbDecimal, setType
 
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

fNull

public static final MetaField fNull

fForeign

public static final MetaField fForeign

fCommonItem

public static final MetaRelation1 fCommonItem

fIndexKeys

public static final MetaRelationN fIndexKeys

fTriggers

public static final MetaRelationN fTriggers

fPrimaryUniques

public static final MetaRelationN fPrimaryUniques

fChecks

public static final MetaRelationN fChecks

fFKeyColumns

public static final MetaRelationN fFKeyColumns

fDestFKeyColumns

public static final MetaRelationN fDestFKeyColumns

fReference

public static final MetaField fReference

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORColumn

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


DbORColumn

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

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

initMeta

public static void initMeta()
For internal use only.


getSecurityMask

protected final int getSecurityMask()
Returns:
int

set

public void set(MetaField metaField,
                java.lang.Object value)
         throws DbException
Overrides:
set in class DbORAttribute
Parameters:
metafield - org.modelsphere.jack.baseDb.meta.MetaField
value - java.lang.Object
Throws:
DbException

setNull

public final void setNull(java.lang.Boolean value)
                   throws DbException
Sets the "null possible" property of a DbORColumn's instance.

Parameters:
value - the "null possible" property
Throws:
DbException

setForeign

public final void setForeign(java.lang.Boolean value)
                      throws DbException
Sets the "foreign" property of a DbORColumn's instance.

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

setCommonItem

public final void setCommonItem(DbORCommonItem value)
                         throws DbException
Sets the common item object associated to a DbORColumn's instance.

Parameters:
value - the common item object to be associated
Throws:
DbException

setTriggers

public final void setTriggers(DbORTrigger value,
                              int op)
                       throws DbException
Adds an element to or removes an element from the list of triggers associated to a DbORColumn's instance.

Parameters:
value - an element to be added to or removed from the list.
op - Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
Throws:
DbException

addToTriggers

public final void addToTriggers(DbORTrigger value)
                         throws DbException
Adds an element to the list of triggers associated to a DbORColumn's instance.

Parameters:
value - the element to be added.
Throws:
DbException

removeFromTriggers

public final void removeFromTriggers(DbORTrigger value)
                              throws DbException
Removes an element from the list of triggers associated to a DbORColumn's instance.

Parameters:
value - the element to be removed.
Throws:
DbException

setPrimaryUniques

public final void setPrimaryUniques(DbORPrimaryUnique value,
                                    int op)
                             throws DbException
Adds an element to or removes an element from the list of primary / unique keys associated to a DbORColumn's instance.

Parameters:
value - an element to be added to or removed from the list.
op - Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
Throws:
DbException

addToPrimaryUniques

public final void addToPrimaryUniques(DbORPrimaryUnique value)
                               throws DbException
Adds an element to the list of primary / unique keys associated to a DbORColumn's instance.

Parameters:
value - the element to be added.
Throws:
DbException

removeFromPrimaryUniques

public final void removeFromPrimaryUniques(DbORPrimaryUnique value)
                                    throws DbException
Removes an element from the list of primary / unique keys associated to a DbORColumn's instance.

Parameters:
value - the element to be removed.
Throws:
DbException

setReference

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

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

set

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

getNull

public final java.lang.Boolean getNull()
                                throws DbException
Deprecated. use isNull() method instead

Gets the "null possible" property's Boolean value of a DbORColumn's instance.

Returns:
the "null possible" property's Boolean value
Throws:
DbException

isNull

public final boolean isNull()
                     throws DbException
Tells whether a DbORColumn's instance is null or not.

Returns:
boolean
Throws:
DbException

getForeign

public final java.lang.Boolean getForeign()
                                   throws DbException
Deprecated. use isForeign() method instead

Gets the "foreign" property's Boolean value of a DbORColumn's instance.

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

isForeign

public final boolean isForeign()
                        throws DbException
Tells whether a DbORColumn's instance is foreign or not.

Returns:
boolean
Throws:
DbException

getCommonItem

public final DbORCommonItem getCommonItem()
                                   throws DbException
Gets the common item object associated to a DbORColumn's instance.

Returns:
the common item object
Throws:
DbException

getIndexKeys

public final DbRelationN getIndexKeys()
                               throws DbException
Gets the list of index keys associated to a DbORColumn's instance.

Returns:
the list of index keys.
Throws:
DbException

getTriggers

public final DbRelationN getTriggers()
                              throws DbException
Gets the list of triggers associated to a DbORColumn's instance.

Returns:
the list of triggers.
Throws:
DbException

getPrimaryUniques

public final DbRelationN getPrimaryUniques()
                                    throws DbException
Gets the list of primary / unique keys associated to a DbORColumn's instance.

Returns:
the list of primary / unique keys.
Throws:
DbException

getChecks

public final DbRelationN getChecks()
                            throws DbException
Gets the list of check constraints associated to a DbORColumn's instance.

Returns:
the list of check constraints.
Throws:
DbException

getFKeyColumns

public final DbRelationN getFKeyColumns()
                                 throws DbException
Gets the list of foreign keys associated to a DbORColumn's instance.

Returns:
the list of foreign keys.
Throws:
DbException

getDestFKeyColumns

public final DbRelationN getDestFKeyColumns()
                                     throws DbException
Gets the list of dest foreign keys associated to a DbORColumn's instance.

Returns:
the list of dest foreign keys.
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 DbORColumn's instance.

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

isReference

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

Returns:
boolean
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.