com.softwareag.mdm.schema.trigger
Interface NewTransientOccurrenceContext

All Superinterfaces:
TableTriggerExecutionContext, TriggerExecutionContext

public interface NewTransientOccurrenceContext
extends TableTriggerExecutionContext

Provides an execution context for handling new transient occurrence context operation.

See Also:
TableTrigger.handleNewContext(NewTransientOccurrenceContext), ProcedureContext.getContextForNewOccurrence(com.softwareag.mdm.adaptation.AdaptationTable), ProcedureContext.getContextForNewOccurrence(com.softwareag.mdm.adaptation.Adaptation, com.softwareag.mdm.adaptation.AdaptationTable)

Method Summary
 DefinitionMode getDefinitionMode()
          Returns the mode that the occurrence may have regarding its inheritance.
 ValueContextForUpdate getOccurrenceContextForUpdate()
          Returns the occurrence context for update.
 boolean isDuplicatingOccurrence()
          Returns true if new context comes from an occurrence copy.
 
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

getOccurrenceContextForUpdate

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


getDefinitionMode

public DefinitionMode getDefinitionMode()
Returns the mode that the occurrence may have regarding its inheritance.


isDuplicatingOccurrence

public boolean isDuplicatingOccurrence()
Returns true if new context comes from an occurrence copy.

In this case the context returned by the method TableTriggerExecutionContext.getOccurrenceContext() is already fed with the values of the occurrence that is being duplicated.



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