net.sf.farrago.cwm.relational
Interface CwmTriggerClass

All Superinterfaces:
RefBaseObject, RefClass, RefFeatured
All Known Implementing Classes:
CwmTriggerClass$Hib

public interface CwmTriggerClass
extends RefClass

Trigger class proxy interface. An action run by the DBMS when specified events occur on the table owning the Trigger

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 CwmTrigger createCwmTrigger()
          The default factory operation used to create an instance object.
 CwmTrigger createCwmTrigger(String name, VisibilityKind visibility, EventManipulationType eventManipulation, CwmBooleanExpression actionCondition, CwmProcedureExpression actionStatement, ActionOrientationType actionOrientation, ConditionTimingType conditionTiming, String conditionReferenceNewTable, String conditionReferenceOldTable)
          Creates an instance object having attributes initialized by the passed values.
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

createCwmTrigger

CwmTrigger createCwmTrigger()
The default factory operation used to create an instance object.

Returns:
The created instance object.

createCwmTrigger

CwmTrigger createCwmTrigger(String name,
                            VisibilityKind visibility,
                            EventManipulationType eventManipulation,
                            CwmBooleanExpression actionCondition,
                            CwmProcedureExpression actionStatement,
                            ActionOrientationType actionOrientation,
                            ConditionTimingType conditionTiming,
                            String conditionReferenceNewTable,
                            String conditionReferenceOldTable)
Creates an instance object having attributes initialized by the passed values.

Parameters:
name - An identifier for the ModelElement within its containing Namespace.
visibility - Specifies extent of the visibility of the ModelElement within its owning Namespace.
eventManipulation - Indicates what types of events are using the current Trigger.
actionCondition - A boolean expression which defines when the trigger has to be executed
actionStatement - The Trigger action itself
actionOrientation - It indicates if the trigger is called once per statement execution or before or after each row of the table is modified.
conditionTiming - It indicates if the trigger activity is run before or after the statement or row is modified.
conditionReferenceNewTable - The alias for the owning table name, used in the actionStatement, to represent the state of the table after the insert/delete/update
conditionReferenceOldTable - The alias for the name of the owning table, used in the actionStatement, to represent the state of the table before the update/delete/insert.
Returns:
The created instance object.