org.modelsphere.sms.or.db
Class DbORTrigger

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.DbSMSBehavioralFeature
                              extended by org.modelsphere.sms.or.db.DbORAbstractMethod
                                  extended by org.modelsphere.sms.or.db.DbORTrigger
Direct Known Subclasses:
DbIBMTrigger, DbINFTrigger, DbORATrigger

public abstract class DbORTrigger
extends DbORAbstractMethod

Direct subclass(es)/subinterface(s) : DbORATrigger, DbIBMTrigger, DbINFTrigger, DbGETrigger.
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 fColumns
           
static MetaField fEvent
           
static MetaField fNewAlias
           
static MetaField fOldAlias
           
static MetaField fWhenCondition
           
static MetaClass metaClass
           
 
Fields inherited from class org.modelsphere.sms.or.db.DbORAbstractMethod
fBody, fUser
 
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
DbORTrigger()
          Parameter-less constructor.
DbORTrigger(DbObject composite)
          Creates an instance of DbORTrigger.
 
Method Summary
 void addToColumns(DbORColumn value)
          Adds an element to the list of columns associated to a DbORTrigger's instance.
 DbRelationN getColumns()
          Gets the list of columns associated to a DbORTrigger's instance.
 ORTriggerEvent getEvent()
          Gets the "event" of a DbORTrigger's instance.
 java.lang.String getNewAlias()
          Gets the "new alias" property of a DbORTrigger's instance.
 java.lang.String getOldAlias()
          Gets the "old alias" property of a DbORTrigger's instance.
 java.lang.String getWhenCondition()
          Gets the "when condition" property of a DbORTrigger's instance.
static void initMeta()
          For internal use only.
 void removeFromColumns(DbORColumn value)
          Removes an element from the list of columns associated to a DbORTrigger's instance.
 void set(MetaField metaField, java.lang.Object value)
           
 void set(MetaRelationN relation, DbObject neighbor, int op)
           
 void setColumns(DbORColumn value, int op)
          Adds an element to or removes an element from the list of columns associated to a DbORTrigger's instance.
 void setEvent(ORTriggerEvent value)
          Sets the "event" property of a DbORTrigger's instance.
 void setNewAlias(java.lang.String value)
          Sets the "new alias" property of a DbORTrigger's instance.
 void setOldAlias(java.lang.String value)
          Sets the "old alias" property of a DbORTrigger's instance.
 void setWhenCondition(java.lang.String value)
          Sets the "when condition" property of a DbORTrigger's instance.
 
Methods inherited from class org.modelsphere.sms.or.db.DbORAbstractMethod
getBody, getSecurityMask, getUser, setBody, setUser
 
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

fEvent

public static final MetaField fEvent

fOldAlias

public static final MetaField fOldAlias

fNewAlias

public static final MetaField fNewAlias

fWhenCondition

public static final MetaField fWhenCondition

fColumns

public static final MetaRelationN fColumns

metaClass

public static final MetaClass metaClass
Constructor Detail

DbORTrigger

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


DbORTrigger

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

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

initMeta

public static void initMeta()
For internal use only.


setEvent

public final void setEvent(ORTriggerEvent value)
                    throws DbException
Sets the "event" property of a DbORTrigger's instance.

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

setOldAlias

public final void setOldAlias(java.lang.String value)
                       throws DbException
Sets the "old alias" property of a DbORTrigger's instance.

Parameters:
value - the "old alias" property
Throws:
DbException

setNewAlias

public final void setNewAlias(java.lang.String value)
                       throws DbException
Sets the "new alias" property of a DbORTrigger's instance.

Parameters:
value - the "new alias" property
Throws:
DbException

setWhenCondition

public final void setWhenCondition(java.lang.String value)
                            throws DbException
Sets the "when condition" property of a DbORTrigger's instance.

Parameters:
value - the "when condition" property
Throws:
DbException

setColumns

public final void setColumns(DbORColumn value,
                             int op)
                      throws DbException
Adds an element to or removes an element from the list of columns associated to a DbORTrigger'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

addToColumns

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

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

removeFromColumns

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

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

set

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

set

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

getEvent

public final ORTriggerEvent getEvent()
                              throws DbException
Gets the "event" of a DbORTrigger's instance.

Returns:
the "event"
Throws:
DbException

getOldAlias

public final java.lang.String getOldAlias()
                                   throws DbException
Gets the "old alias" property of a DbORTrigger's instance.

Returns:
the "old alias" property
Throws:
DbException

getNewAlias

public final java.lang.String getNewAlias()
                                   throws DbException
Gets the "new alias" property of a DbORTrigger's instance.

Returns:
the "new alias" property
Throws:
DbException

getWhenCondition

public final java.lang.String getWhenCondition()
                                        throws DbException
Gets the "when condition" property of a DbORTrigger's instance.

Returns:
the "when condition" property
Throws:
DbException

getColumns

public final DbRelationN getColumns()
                             throws DbException
Gets the list of columns associated to a DbORTrigger's instance.

Returns:
the list of columns.
Throws:
DbException


Open ModelSphere 2007. All Rights Reserved.