org.modelsphere.sms.or.db
Class DbORFKeyColumn

java.lang.Object
  extended by PersistentObject
      extended by org.modelsphere.jack.baseDb.db.DbObject
          extended by org.modelsphere.sms.or.db.DbORFKeyColumn

public final class DbORFKeyColumn
extends DbObject

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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.modelsphere.jack.baseDb.db.DbObject
DbObject.ComponentIterator
 
Field Summary
static MetaRelation1 fColumn
           
static MetaRelation1 fSourceColumn
           
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
DbORFKeyColumn()
          Parameter-less constructor.
DbORFKeyColumn(DbORForeign foreignKey, DbORColumn column, DbORColumn sourceColumn)
          Creates an instance of DbORFKeyColumn.
 
Method Summary
 DbORColumn getColumn()
          Gets the column object associated to a DbORFKeyColumn's instance.
 MetaClass getMetaClass()
           
 java.lang.String getName()
           
 java.lang.String getSemanticalName(int form)
           
 DbORColumn getSourceColumn()
          Gets the source column object associated to a DbORFKeyColumn'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 setColumn(DbORColumn value)
          Sets the column object associated to a DbORFKeyColumn's instance.
 void setSourceColumn(DbORColumn value)
          Sets the source column object associated to a DbORFKeyColumn'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

fColumn

public static final MetaRelation1 fColumn

fSourceColumn

public static final MetaRelation1 fSourceColumn

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORFKeyColumn

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


DbORFKeyColumn

public DbORFKeyColumn(DbORForeign foreignKey,
                      DbORColumn column,
                      DbORColumn sourceColumn)
               throws DbException
Creates an instance of DbORFKeyColumn.

Parameters:
foreignkey - org.modelsphere.sms.or.db.DbORForeign
column - org.modelsphere.sms.or.db.DbORColumn
sourcecolumn - org.modelsphere.sms.or.db.DbORColumn
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

setColumn

public final void setColumn(DbORColumn value)
                     throws DbException
Sets the column object associated to a DbORFKeyColumn's instance.

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

setSourceColumn

public final void setSourceColumn(DbORColumn value)
                           throws DbException
Sets the source column object associated to a DbORFKeyColumn's instance.

Parameters:
value - the source column 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

getColumn

public final DbORColumn getColumn()
                           throws DbException
Gets the column object associated to a DbORFKeyColumn's instance.

Returns:
the column object
Throws:
DbException

getSourceColumn

public final DbORColumn getSourceColumn()
                                 throws DbException
Gets the source column object associated to a DbORFKeyColumn's instance.

Returns:
the source column object
Throws:
DbException

getMetaClass

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


Open ModelSphere 2007. All Rights Reserved.