net.sf.farrago.cwm.relational
Class CwmTriggerClass$Hib
java.lang.Object
org.eigenbase.enki.jmi.impl.RefBaseObjectBase
org.eigenbase.enki.jmi.impl.RefFeaturedBase
org.eigenbase.enki.jmi.impl.RefClassBase
org.eigenbase.enki.hibernate.jmi.HibernateRefClass
net.sf.farrago.cwm.relational.CwmTriggerClass$Hib
- All Implemented Interfaces:
- RefBaseObject, RefClass, RefFeatured, CwmTriggerClass
public class CwmTriggerClass$Hib
- extends HibernateRefClass
- implements CwmTriggerClass
Trigger class proxy implementation.
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 |
protected void |
checkConstraints(List<JmiException> errors,
boolean deepVerify)
|
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. |
String |
getAssociationColumnName(String type,
boolean firstEnd)
|
Collection<String> |
getAssociationColumnNames()
|
String |
getClassIdentifier()
|
String |
getQueryCacheRegion()
|
String |
getTable()
|
Methods inherited from class org.eigenbase.enki.jmi.impl.RefBaseObjectBase |
createInstance, equals, getCurrentInitializer, getEnum, getInitializer, getMofId, getTag, hashCode, invokeMethod, invokeMethod, logJmi, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints, setMofId, setRefMetaObject |
_id
private static final String _id
- See Also:
- Constant Field Values
_queryCacheRegion
private static final String _queryCacheRegion
- See Also:
- Constant Field Values
_table
private static final String _table
- See Also:
- Constant Field Values
CwmTriggerClass$Hib
public CwmTriggerClass$Hib(RefPackage container)
createCwmTrigger
public CwmTrigger createCwmTrigger()
- Description copied from interface:
CwmTriggerClass
- The default factory operation used to create an instance object.
- Specified by:
createCwmTrigger
in interface CwmTriggerClass
- Returns:
- The created instance object.
createCwmTrigger
public CwmTrigger createCwmTrigger(String name,
VisibilityKind visibility,
EventManipulationType eventManipulation,
CwmBooleanExpression actionCondition,
CwmProcedureExpression actionStatement,
ActionOrientationType actionOrientation,
ConditionTimingType conditionTiming,
String conditionReferenceNewTable,
String conditionReferenceOldTable)
- Description copied from interface:
CwmTriggerClass
- Creates an instance object having attributes initialized by the passed
values.
- Specified by:
createCwmTrigger
in interface CwmTriggerClass
- 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.
checkConstraints
protected void checkConstraints(List<JmiException> errors,
boolean deepVerify)
- Specified by:
checkConstraints
in class RefBaseObjectBase
getClassIdentifier
public String getClassIdentifier()
- Specified by:
getClassIdentifier
in class HibernateRefClass
getTable
public String getTable()
- Specified by:
getTable
in class HibernateRefClass
getQueryCacheRegion
public String getQueryCacheRegion()
- Specified by:
getQueryCacheRegion
in class HibernateRefClass
getAssociationColumnName
public String getAssociationColumnName(String type,
boolean firstEnd)
- Specified by:
getAssociationColumnName
in class HibernateRefClass
getAssociationColumnNames
public Collection<String> getAssociationColumnNames()
- Specified by:
getAssociationColumnNames
in class HibernateRefClass