com.softwareag.mdm.schema.trigger
Interface BeforeModifyOccurrenceContext

All Superinterfaces:
TableTriggerExecutionContext, TriggerExecutionContext

public interface BeforeModifyOccurrenceContext
extends TableTriggerExecutionContext

Provides an execution context for handling before modify occurrence operation.

See Also:
TableTrigger.handleBeforeModify(BeforeModifyOccurrenceContext)

Method Summary
 Adaptation getAdaptationOccurrence()
          Returns the adaptation occurrence that will be modified.
 DefinitionMode getDefinitionMode()
          Returns the definition mode of the occurrence that must be modified.
 ValueContextForUpdate getOccurrenceContextForUpdate()
          Returns the occurrence context for update.
 
Methods inherited from interface com.softwareag.mdm.schema.trigger.TableTriggerExecutionContext
getAdaptationHome, getOccurrenceContext, getTable
 
Methods inherited from interface com.softwareag.mdm.schema.trigger.TriggerExecutionContext
getSession
 

Method Detail

getAdaptationOccurrence

public Adaptation getAdaptationOccurrence()
Returns the adaptation occurrence that will be modified.


getOccurrenceContextForUpdate

public ValueContextForUpdate getOccurrenceContextForUpdate()
Returns the occurrence context for update.

When an occurrence is copied as-is from a table to another table (see ProcedureContext.getContext(AdaptationName)), the default context is a context for read. In this case, this method has the effect of transforming the context for read to a context for update.

See Also:
TableTriggerExecutionContext.getOccurrenceContext()

getDefinitionMode

public DefinitionMode getDefinitionMode()
Returns the definition mode of the occurrence that must be modified.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.