org.modeldriven.fuml.library.booleanfunctions
Class BooleanFunctionBehaviorExecution

java.lang.Object
  extended by org.modeldriven.fuml.FumlObject
      extended by fUML.Semantics.Loci.LociL1.SemanticVisitor
          extended by fUML.Semantics.Classes.Kernel.Value
              extended by fUML.Semantics.Classes.Kernel.StructuredValue
                  extended by fUML.Semantics.Classes.Kernel.CompoundValue
                      extended by fUML.Semantics.Classes.Kernel.ExtensionalValue
                          extended by fUML.Semantics.Classes.Kernel.Object_
                              extended by fUML.Semantics.CommonBehaviors.BasicBehaviors.Execution
                                  extended by fUML.Semantics.CommonBehaviors.BasicBehaviors.OpaqueBehaviorExecution
                                      extended by org.modeldriven.fuml.library.booleanfunctions.BooleanFunctionBehaviorExecution
Direct Known Subclasses:
BooleanAndFunctionBehaviorExecution, BooleanImpliesFunctionBehaviorExecution, BooleanOrFunctionBehaviorExecution, BooleanXorFunctionBehaviorExecution

public abstract class BooleanFunctionBehaviorExecution
extends OpaqueBehaviorExecution

Abstract class for all two-argument boolean functions. For functions that have one or more than two arguments, this abstract class is not used. The class which implements the specific boolean function must implement the doBooleanFunction() method.


Field Summary
 
Fields inherited from class fUML.Semantics.CommonBehaviors.BasicBehaviors.Execution
context, parameterValues
 
Fields inherited from class fUML.Semantics.Classes.Kernel.Object_
objectActivation, types
 
Fields inherited from class fUML.Semantics.Classes.Kernel.ExtensionalValue
locus
 
Fields inherited from class fUML.Semantics.Classes.Kernel.CompoundValue
featureValues
 
Constructor Summary
BooleanFunctionBehaviorExecution()
           
 
Method Summary
 void doBody(ParameterValueList inputParameters, ParameterValueList outputParameters)
          operation doBody
abstract  boolean doBooleanFunction(boolean b1, boolean b2)
          operation doBooleanFunction
 
Methods inherited from class fUML.Semantics.CommonBehaviors.BasicBehaviors.OpaqueBehaviorExecution
execute
 
Methods inherited from class fUML.Semantics.CommonBehaviors.BasicBehaviors.Execution
copy, getBehavior, getOutputParameterValues, getParameterValue, new_, setParameterValue, terminate
 
Methods inherited from class fUML.Semantics.Classes.Kernel.Object_
destroy, dispatch, getTypes, register, send, startBehavior, unregister
 
Methods inherited from class fUML.Semantics.Classes.Kernel.CompoundValue
equals, getFeatureValue, getFeatureValues, removeFeatureValues, setFeatureValue, toString
 
Methods inherited from class fUML.Semantics.Classes.Kernel.StructuredValue
createFeatureValues, specify
 
Methods inherited from class fUML.Semantics.Classes.Kernel.Value
hasType, objectId
 
Methods inherited from class fUML.Semantics.Loci.LociL1.SemanticVisitor
_beginIsolation, _endIsolation
 
Methods inherited from class org.modeldriven.fuml.FumlObject
getHref, getXmiId, getXmiNamespace, setHref, setXmiId, setXmiNamespace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BooleanFunctionBehaviorExecution

public BooleanFunctionBehaviorExecution()
Method Detail

doBody

public void doBody(ParameterValueList inputParameters,
                   ParameterValueList outputParameters)
operation doBody

Specified by:
doBody in class OpaqueBehaviorExecution

doBooleanFunction

public abstract boolean doBooleanFunction(boolean b1,
                                          boolean b2)
operation doBooleanFunction



Copyright © 2012. All Rights Reserved.