|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPersistentObject
org.modelsphere.jack.baseDb.db.DbObject
org.modelsphere.jack.baseDb.db.DbSemanticalObject
org.modelsphere.sms.db.DbSMSSemanticalObject
org.modelsphere.sms.db.DbSMSTypedElement
org.modelsphere.sms.db.DbSMSFeature
org.modelsphere.sms.db.DbSMSStructuralFeature
org.modelsphere.sms.or.db.DbORAttribute
org.modelsphere.sms.or.db.DbORColumn
public abstract class DbORColumn
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MetaField fNull
public static final MetaField fForeign
public static final MetaRelation1 fCommonItem
public static final MetaRelationN fIndexKeys
public static final MetaRelationN fTriggers
public static final MetaRelationN fPrimaryUniques
public static final MetaRelationN fChecks
public static final MetaRelationN fFKeyColumns
public static final MetaRelationN fDestFKeyColumns
public static final MetaField fReference
public static final MetaClass metaClass
Constructor Detail |
---|
public DbORColumn()
public DbORColumn(DbObject composite) throws DbException
composite
- the object which will contain the newly-created instance
DbException
Method Detail |
---|
public static void initMeta()
protected final int getSecurityMask()
public void set(MetaField metaField, java.lang.Object value) throws DbException
set
in class DbORAttribute
metafield
- org.modelsphere.jack.baseDb.meta.MetaFieldvalue
- java.lang.Object
DbException
public final void setNull(java.lang.Boolean value) throws DbException
value
- the "null possible" property
DbException
public final void setForeign(java.lang.Boolean value) throws DbException
value
- the "foreign" property
DbException
public final void setCommonItem(DbORCommonItem value) throws DbException
value
- the common item object to be associated
DbException
public final void setTriggers(DbORTrigger value, int op) throws DbException
value
- an element to be added to or removed from the list.op
- Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
DbException
public final void addToTriggers(DbORTrigger value) throws DbException
value
- the element to be added.
DbException
public final void removeFromTriggers(DbORTrigger value) throws DbException
value
- the element to be removed.
DbException
public final void setPrimaryUniques(DbORPrimaryUnique value, int op) throws DbException
value
- an element to be added to or removed from the list.op
- Either Db.ADD_TO_RELN or Db.REMOVE_FROM_RELN
DbException
public final void addToPrimaryUniques(DbORPrimaryUnique value) throws DbException
value
- the element to be added.
DbException
public final void removeFromPrimaryUniques(DbORPrimaryUnique value) throws DbException
value
- the element to be removed.
DbException
public final void setReference(java.lang.Boolean value) throws DbException
value
- the "reference" property
DbException
public void set(MetaRelationN relation, DbObject neighbor, int op) throws DbException
set
in class DbORAttribute
DbException
public final java.lang.Boolean getNull() throws DbException
DbException
public final boolean isNull() throws DbException
DbException
public final java.lang.Boolean getForeign() throws DbException
DbException
public final boolean isForeign() throws DbException
DbException
public final DbORCommonItem getCommonItem() throws DbException
DbException
public final DbRelationN getIndexKeys() throws DbException
DbException
public final DbRelationN getTriggers() throws DbException
DbException
public final DbRelationN getPrimaryUniques() throws DbException
DbException
public final DbRelationN getChecks() throws DbException
DbException
public final DbRelationN getFKeyColumns() throws DbException
DbException
public final DbRelationN getDestFKeyColumns() throws DbException
DbException
public final java.lang.Boolean getReference() throws DbException
DbException
public final boolean isReference() throws DbException
DbException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |