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.
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 executedactionStatement
- The Trigger action itselfactionOrientation
- 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/updateconditionReferenceOldTable
- 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.