Class EndScenarioModel

  extended by com.bea.p13n.model.Model
      extended by com.bea.p13n.model.XmlObjectModel
          extended by com.bea.p13n.rules.model.ClauseModel
              extended by com.bea.campaign.model.EndScenarioModel
All Implemented Interfaces
Serializable, Cloneable

public class EndScenarioModel
extends ClauseModel

A rule action that will cause the scenario to end for the executing user. This model has no properties; it's association to a RuleModel is what controls it.

See Also
Serialized Form

Nested Class Summary
static class EndScenarioModel.Recognizer
          An object which can recognize this model from xml.
Nested classes/interfaces inherited from class com.bea.p13n.model.Model
Model.ChangeEvent, Model.ChangeListener, Model.ChangeSupport, Model.Debug
Field Summary
static String CLAUSE_TYPE
          The default clause type for this model.
Fields inherited from class com.bea.p13n.rules.model.ClauseModel
Fields inherited from class com.bea.p13n.model.XmlObjectModel
copyRootXmlObject, instanceUri, isComplete
Fields inherited from class com.bea.p13n.model.Model
childrenModels, docModel, parentModel, roChildrenModels
Constructor Summary
Method Summary
 void clearCachedData()
          Do nothing since this doesn't have any cached data.
 org.apache.xmlbeans.XmlObject createNewXmlObject(String clauseType)
          Create a new EndScenario object.
protected  org.apache.xmlbeans.XmlObject getCopyXmlObject()
          Create a copy XmlObject of our root xml object.
 void setXmlObject(String clauseType, org.apache.xmlbeans.XmlObject clause)
          Set the root xml object (should be an EndScenario).
Methods inherited from class com.bea.p13n.rules.model.ClauseModel
addBranch, addLiteral, addMethod, addMethodOrOperator, addOperator, addVariable, addVariableBinding, copy, getClauseType, getContainingRuleModel, initializeNew, isInActions, isInConditions, isValidTypeAlias, isValidVariableName, makeSafeCopy, toString
Methods inherited from class com.bea.p13n.model.XmlObjectModel
checkElement, childAdded, childRemoved, determineIsComplete, fixQName, getApplicationInstanceUri, getChild, getDocument, getLocalName, getParent, getQName, getRootXmlObject, isComplete, isNil, preRemove, propertyChanged, removeAllChildren, removeChild, setApplicationInstanceUri, setIsComplete, setIsComplete, setParent, setRootXmlObject
Methods inherited from class com.bea.p13n.model.Model
addChangeListener, addChild, addChild, clone, doubleEquals, equals, getChildren, getDebug, getDebug, getDocument, getParent, longEquals, removeChangeListener, removeChild, removeChild, removeEmpties, setDocument
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static final String CLAUSE_TYPE
The default clause type for this model.

See Also
Constants Summary
Constructor Detail


public EndScenarioModel()
Method Detail


public void setXmlObject(String clauseType,
                         org.apache.xmlbeans.XmlObject clause)
                  throws IllegalArgumentException
Set the root xml object (should be an EndScenario).

setXmlObject in class ClauseModel
clauseType - the clause type of the clause.
clause - the root xml object of the clause.
IllegalArgumentException - thrown on wrong xml.


public org.apache.xmlbeans.XmlObject createNewXmlObject(String clauseType)
Create a new EndScenario object.

Specified by:
createNewXmlObject in class ClauseModel
clauseType - the clause type of the clause.
a new, empty initialize root object.


protected org.apache.xmlbeans.XmlObject getCopyXmlObject()
Create a copy XmlObject of our root xml object.

getCopyXmlObject in class ClauseModel
See Also


public void clearCachedData()
Do nothing since this doesn't have any cached data.

Specified by:
clearCachedData in class XmlObjectModel

Copyright © 2011, Oracle. All rights reserved.