de.cau.cs.kieler.quartz.editor.quartz.util
Class QuartzSwitch<T>

java.lang.Object
  extended by de.cau.cs.kieler.quartz.editor.quartz.util.QuartzSwitch<T>

public class QuartzSwitch<T>
extends Object

The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.

See Also:
QuartzPackage
Rating red
Generated:
This code was automatically generated.

Field Summary
protected static QuartzPackage modelPackage
          The cached model package
 
Constructor Summary
QuartzSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseAssumeList(AssumeList object)
          Returns the result of interpreting the object as an instance of 'Assume List'.
 T caseAtomicStmt(AtomicStmt object)
          Returns the result of interpreting the object as an instance of 'Atomic Stmt'.
 T casecase_list(case_list object)
          Returns the result of interpreting the object as an instance of 'case list'.
 T caseControlList(ControlList object)
          Returns the result of interpreting the object as an instance of 'Control List'.
 T caseDimList(DimList object)
          Returns the result of interpreting the object as an instance of 'Dim List'.
 T casedUtyExpr(dUtyExpr object)
          Returns the result of interpreting the object as an instance of 'dUty Expr'.
 T casedUtyExprs(dUtyExprs object)
          Returns the result of interpreting the object as an instance of 'dUty Exprs'.
 T caseFixpointEqList(FixpointEqList object)
          Returns the result of interpreting the object as an instance of 'Fixpoint Eq List'.
 T caseGeneric(Generic object)
          Returns the result of interpreting the object as an instance of 'Generic'.
 T caseImportList(ImportList object)
          Returns the result of interpreting the object as an instance of 'Import List'.
 T caseInOutName(InOutName object)
          Returns the result of interpreting the object as an instance of 'In Out Name'.
 T caseInOutNameList(InOutNameList object)
          Returns the result of interpreting the object as an instance of 'In Out Name List'.
 T caseInOutNameListComma(InOutNameListComma object)
          Returns the result of interpreting the object as an instance of 'In Out Name List Comma'.
 T caseInterface(Interface object)
          Returns the result of interpreting the object as an instance of 'Interface'.
 T caseInterfaceComma(InterfaceComma object)
          Returns the result of interpreting the object as an instance of 'Interface Comma'.
 T caseInterfaceList(InterfaceList object)
          Returns the result of interpreting the object as an instance of 'Interface List'.
 T caseLocStmt(LocStmt object)
          Returns the result of interpreting the object as an instance of 'Loc Stmt'.
 T caseMacroDef(MacroDef object)
          Returns the result of interpreting the object as an instance of 'Macro Def'.
 T caseName(Name object)
          Returns the result of interpreting the object as an instance of 'Name'.
 T caseNamedStmt(NamedStmt object)
          Returns the result of interpreting the object as an instance of 'Named Stmt'.
 T caseObservedSpecList(ObservedSpecList object)
          Returns the result of interpreting the object as an instance of 'Observed Spec List'.
 T caseOptUtyExpr(OptUtyExpr object)
          Returns the result of interpreting the object as an instance of 'Opt Uty Expr'.
 T caseOptUtyExprList(OptUtyExprList object)
          Returns the result of interpreting the object as an instance of 'Opt Uty Expr List'.
 T casePackagePath(PackagePath object)
          Returns the result of interpreting the object as an instance of 'Package Path'.
 T casePointedName(PointedName object)
          Returns the result of interpreting the object as an instance of 'Pointed Name'.
 T caseProofGoalList(ProofGoalList object)
          Returns the result of interpreting the object as an instance of 'Proof Goal List'.
 T caseQModule(QModule object)
          Returns the result of interpreting the object as an instance of 'QModule'.
 T caseQName(QName object)
          Returns the result of interpreting the object as an instance of 'QName'.
 T caseQNameList(QNameList object)
          Returns the result of interpreting the object as an instance of 'QName List'.
 T caseQrzFile(QrzFile object)
          Returns the result of interpreting the object as an instance of 'Qrz File'.
 T caseQType(QType object)
          Returns the result of interpreting the object as an instance of 'QType'.
 T caseQTypeList(QTypeList object)
          Returns the result of interpreting the object as an instance of 'QType List'.
 T caseSeqStmt(SeqStmt object)
          Returns the result of interpreting the object as an instance of 'Seq Stmt'.
 T caseStmt(Stmt object)
          Returns the result of interpreting the object as an instance of 'Stmt'.
 T caseUtyAction(UtyAction object)
          Returns the result of interpreting the object as an instance of 'Uty Action'.
 T caseUtyExpr(UtyExpr object)
          Returns the result of interpreting the object as an instance of 'Uty Expr'.
 T caseUtyExprSelectList(UtyExprSelectList object)
          Returns the result of interpreting the object as an instance of 'Uty Expr Select List'.
 T defaultCase(EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
protected  T doSwitch(EClass theEClass, EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 T doSwitch(EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
protected  T doSwitch(int classifierID, EObject theEObject)
          Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static QuartzPackage modelPackage
The cached model package

Generated:
This code was automatically generated.
Constructor Detail

QuartzSwitch

public QuartzSwitch()
Creates an instance of the switch.

Generated:
This code was automatically generated.
Method Detail

doSwitch

public T doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.
Generated:
This code was automatically generated.

doSwitch

protected T doSwitch(EClass theEClass,
                     EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.
Generated:
This code was automatically generated.

doSwitch

protected T doSwitch(int classifierID,
                     EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Returns:
the first non-null result returned by a caseXXX call.
Generated:
This code was automatically generated.

caseQrzFile

public T caseQrzFile(QrzFile object)
Returns the result of interpreting the object as an instance of 'Qrz File'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Qrz File'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

casePackagePath

public T casePackagePath(PackagePath object)
Returns the result of interpreting the object as an instance of 'Package Path'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Package Path'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseImportList

public T caseImportList(ImportList object)
Returns the result of interpreting the object as an instance of 'Import List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Import List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

casePointedName

public T casePointedName(PointedName object)
Returns the result of interpreting the object as an instance of 'Pointed Name'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Pointed Name'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseMacroDef

public T caseMacroDef(MacroDef object)
Returns the result of interpreting the object as an instance of 'Macro Def'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Macro Def'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseQModule

public T caseQModule(QModule object)
Returns the result of interpreting the object as an instance of 'QModule'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'QModule'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseObservedSpecList

public T caseObservedSpecList(ObservedSpecList object)
Returns the result of interpreting the object as an instance of 'Observed Spec List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Observed Spec List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseName

public T caseName(Name object)
Returns the result of interpreting the object as an instance of 'Name'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Name'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseQName

public T caseQName(QName object)
Returns the result of interpreting the object as an instance of 'QName'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'QName'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseQNameList

public T caseQNameList(QNameList object)
Returns the result of interpreting the object as an instance of 'QName List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'QName List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseQType

public T caseQType(QType object)
Returns the result of interpreting the object as an instance of 'QType'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'QType'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseQTypeList

public T caseQTypeList(QTypeList object)
Returns the result of interpreting the object as an instance of 'QType List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'QType List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseDimList

public T caseDimList(DimList object)
Returns the result of interpreting the object as an instance of 'Dim List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Dim List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInOutName

public T caseInOutName(InOutName object)
Returns the result of interpreting the object as an instance of 'In Out Name'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'In Out Name'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInOutNameList

public T caseInOutNameList(InOutNameList object)
Returns the result of interpreting the object as an instance of 'In Out Name List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'In Out Name List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInOutNameListComma

public T caseInOutNameListComma(InOutNameListComma object)
Returns the result of interpreting the object as an instance of 'In Out Name List Comma'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'In Out Name List Comma'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInterface

public T caseInterface(Interface object)
Returns the result of interpreting the object as an instance of 'Interface'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Interface'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInterfaceComma

public T caseInterfaceComma(InterfaceComma object)
Returns the result of interpreting the object as an instance of 'Interface Comma'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Interface Comma'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseInterfaceList

public T caseInterfaceList(InterfaceList object)
Returns the result of interpreting the object as an instance of 'Interface List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Interface List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseControlList

public T caseControlList(ControlList object)
Returns the result of interpreting the object as an instance of 'Control List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Control List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseAssumeList

public T caseAssumeList(AssumeList object)
Returns the result of interpreting the object as an instance of 'Assume List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Assume List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseProofGoalList

public T caseProofGoalList(ProofGoalList object)
Returns the result of interpreting the object as an instance of 'Proof Goal List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Proof Goal List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseFixpointEqList

public T caseFixpointEqList(FixpointEqList object)
Returns the result of interpreting the object as an instance of 'Fixpoint Eq List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Fixpoint Eq List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseOptUtyExpr

public T caseOptUtyExpr(OptUtyExpr object)
Returns the result of interpreting the object as an instance of 'Opt Uty Expr'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Opt Uty Expr'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseOptUtyExprList

public T caseOptUtyExprList(OptUtyExprList object)
Returns the result of interpreting the object as an instance of 'Opt Uty Expr List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Opt Uty Expr List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseUtyExprSelectList

public T caseUtyExprSelectList(UtyExprSelectList object)
Returns the result of interpreting the object as an instance of 'Uty Expr Select List'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Uty Expr Select List'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseUtyExpr

public T caseUtyExpr(UtyExpr object)
Returns the result of interpreting the object as an instance of 'Uty Expr'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Uty Expr'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseUtyAction

public T caseUtyAction(UtyAction object)
Returns the result of interpreting the object as an instance of 'Uty Action'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Uty Action'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

casecase_list

public T casecase_list(case_list object)
Returns the result of interpreting the object as an instance of 'case list'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'case list'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

casedUtyExpr

public T casedUtyExpr(dUtyExpr object)
Returns the result of interpreting the object as an instance of 'dUty Expr'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'dUty Expr'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

casedUtyExprs

public T casedUtyExprs(dUtyExprs object)
Returns the result of interpreting the object as an instance of 'dUty Exprs'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'dUty Exprs'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseGeneric

public T caseGeneric(Generic object)
Returns the result of interpreting the object as an instance of 'Generic'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Generic'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseLocStmt

public T caseLocStmt(LocStmt object)
Returns the result of interpreting the object as an instance of 'Loc Stmt'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Loc Stmt'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseSeqStmt

public T caseSeqStmt(SeqStmt object)
Returns the result of interpreting the object as an instance of 'Seq Stmt'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Seq Stmt'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseStmt

public T caseStmt(Stmt object)
Returns the result of interpreting the object as an instance of 'Stmt'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Stmt'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseAtomicStmt

public T caseAtomicStmt(AtomicStmt object)
Returns the result of interpreting the object as an instance of 'Atomic Stmt'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Atomic Stmt'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

caseNamedStmt

public T caseNamedStmt(NamedStmt object)
Returns the result of interpreting the object as an instance of 'Named Stmt'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Named Stmt'.
See Also:
doSwitch(EObject)
Generated:
This code was automatically generated.

defaultCase

public T defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
Generated:
This code was automatically generated.