Generators

org.topcased.modeler.diagramconfigurator.util
Class DiagramconfiguratorSwitch<T>

java.lang.Object
  extended by org.topcased.modeler.diagramconfigurator.util.DiagramconfiguratorSwitch<T>

public class DiagramconfiguratorSwitch<T>
extends java.lang.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:
DiagramconfiguratorPackage
** Generated **

Field Summary
protected static DiagramconfiguratorPackage modelPackage
          The cached model package
 
Constructor Summary
DiagramconfiguratorSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseConstraint(Constraint object)
          Returns the result of interpretting the object as an instance of 'Constraint'.
 T caseDiagramConfiguration(DiagramConfiguration object)
          Returns the result of interpretting the object as an instance of 'Diagram Configuration'.
 T caseDiagramReference(DiagramReference object)
          Returns the result of interpretting the object as an instance of 'Diagram Reference'.
 T caseEdgeObject(EdgeObject object)
          Returns the result of interpretting the object as an instance of 'Edge Object'.
 T caseEdgePartConfiguration(EdgePartConfiguration object)
          Returns the result of interpretting the object as an instance of 'Edge Part Configuration'.
 T caseEModelElement(EModelElement object)
          Returns the result of interpretting the object as an instance of 'EModel Element'.
 T caseModelObjectConfiguration(ModelObjectConfiguration object)
          Returns the result of interpretting the object as an instance of 'Model Object Configuration'.
 T caseNodePartConfiguration(NodePartConfiguration object)
          Returns the result of interpretting the object as an instance of 'Node Part Configuration'.
 T caseObjectConfiguration(ObjectConfiguration object)
          Returns the result of interpretting the object as an instance of 'Object Configuration'.
 T casePaletteCategory(PaletteCategory object)
          Returns the result of interpretting the object as an instance of 'Palette Category'.
 T casePaletteConfiguration(PaletteConfiguration object)
          Returns the result of interpretting the object as an instance of 'Palette Configuration'.
 T casePaletteItem(PaletteItem object)
          Returns the result of interpretting the object as an instance of 'Palette Item'.
 T casePartAction(PartAction object)
          Returns the result of interpretting the object as an instance of 'Part Action'.
 T casePartConfiguration(PartConfiguration object)
          Returns the result of interpretting the object as an instance of 'Part Configuration'.
 T caseSimpleObjectConfiguration(SimpleObjectConfiguration object)
          Returns the result of interpretting the object as an instance of 'Simple Object Configuration'.
 T caseSourceTargetCouple(SourceTargetCouple object)
          Returns the result of interpretting the object as an instance of 'Source Target Couple'.
 T defaultCase(EObject object)
          Returns the result of interpretting 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 DiagramconfiguratorPackage modelPackage
The cached model package

** Generated **
Constructor Detail

DiagramconfiguratorSwitch

public DiagramconfiguratorSwitch()
Creates an instance of the switch.

** 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 **

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 **

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 **

caseDiagramConfiguration

public T caseDiagramConfiguration(DiagramConfiguration object)
Returns the result of interpretting the object as an instance of 'Diagram Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Diagram Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseObjectConfiguration

public T caseObjectConfiguration(ObjectConfiguration object)
Returns the result of interpretting the object as an instance of 'Object Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Object Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseDiagramReference

public T caseDiagramReference(DiagramReference object)
Returns the result of interpretting the object as an instance of 'Diagram Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Diagram Reference'.
See Also:
doSwitch(EObject)
** Generated **

casePaletteConfiguration

public T casePaletteConfiguration(PaletteConfiguration object)
Returns the result of interpretting the object as an instance of 'Palette Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Palette Configuration'.
See Also:
doSwitch(EObject)
** Generated **

casePaletteCategory

public T casePaletteCategory(PaletteCategory object)
Returns the result of interpretting the object as an instance of 'Palette Category'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Palette Category'.
See Also:
doSwitch(EObject)
** Generated **

casePartConfiguration

public T casePartConfiguration(PartConfiguration object)
Returns the result of interpretting the object as an instance of 'Part Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Part Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseNodePartConfiguration

public T caseNodePartConfiguration(NodePartConfiguration object)
Returns the result of interpretting the object as an instance of 'Node Part Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Node Part Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseEdgePartConfiguration

public T caseEdgePartConfiguration(EdgePartConfiguration object)
Returns the result of interpretting the object as an instance of 'Edge Part Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Edge Part Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseEdgeObject

public T caseEdgeObject(EdgeObject object)
Returns the result of interpretting the object as an instance of 'Edge Object'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Edge Object'.
See Also:
doSwitch(EObject)
** Generated **

casePaletteItem

public T casePaletteItem(PaletteItem object)
Returns the result of interpretting the object as an instance of 'Palette Item'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Palette Item'.
See Also:
doSwitch(EObject)
** Generated **

caseSourceTargetCouple

public T caseSourceTargetCouple(SourceTargetCouple object)
Returns the result of interpretting the object as an instance of 'Source Target Couple'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Source Target Couple'.
See Also:
doSwitch(EObject)
** Generated **

caseModelObjectConfiguration

public T caseModelObjectConfiguration(ModelObjectConfiguration object)
Returns the result of interpretting the object as an instance of 'Model Object Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Model Object Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseSimpleObjectConfiguration

public T caseSimpleObjectConfiguration(SimpleObjectConfiguration object)
Returns the result of interpretting the object as an instance of 'Simple Object Configuration'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Simple Object Configuration'.
See Also:
doSwitch(EObject)
** Generated **

caseConstraint

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

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'Constraint'.
See Also:
doSwitch(EObject)
** Generated **

casePartAction

public T casePartAction(PartAction object)
Returns the result of interpretting the object as an instance of 'Part 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 interpretting the object as an instance of 'Part Action'.
See Also:
doSwitch(EObject)
** Generated **

caseEModelElement

public T caseEModelElement(EModelElement object)
Returns the result of interpretting the object as an instance of 'EModel Element'. This implementation returns null; returning a non-null result will terminate the switch.

Parameters:
object - the target of the switch.
Returns:
the result of interpretting the object as an instance of 'EModel Element'.
See Also:
doSwitch(EObject)
** Generated **

defaultCase

public T defaultCase(EObject object)
Returns the result of interpretting 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 interpretting the object as an instance of 'EObject'.
See Also:
doSwitch(org.eclipse.emf.ecore.EObject)
** Generated **

Generators

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.