org.eclipse.modisco.utils.chart.metamodel.chart.util
Class chartSwitch<T>

java.lang.Object
  extended by 
      extended by org.eclipse.modisco.utils.chart.metamodel.chart.util.chartSwitch<T>

public class chartSwitch<T>
extends

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:
chartPackage
Generated:

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
chartSwitch()
          Creates an instance of the switch.
 
Method Summary
 T caseAxe(Axe object)
          Returns the result of interpreting the object as an instance of 'Axe'.
 T caseChart(Chart object)
          Returns the result of interpreting the object as an instance of 'Chart'.
 T caseCoordinate(Coordinate object)
          Returns the result of interpreting the object as an instance of 'Coordinate'.
 T casePoint(Point object)
          Returns the result of interpreting the object as an instance of 'Point'.
 T caseSerie(Serie object)
          Returns the result of interpreting the object as an instance of 'Serie'.
 T defaultCase(EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Generated:
Constructor Detail

chartSwitch

public chartSwitch()
Creates an instance of the switch.

Generated:
Method Detail

caseChart

public T caseChart(Chart object)
Returns the result of interpreting the object as an instance of 'Chart'. 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 'Chart'.
See Also:
doSwitch(EObject)
Generated:

caseAxe

public T caseAxe(Axe object)
Returns the result of interpreting the object as an instance of 'Axe'. 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 'Axe'.
See Also:
doSwitch(EObject)
Generated:

caseSerie

public T caseSerie(Serie object)
Returns the result of interpreting the object as an instance of 'Serie'. 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 'Serie'.
See Also:
doSwitch(EObject)
Generated:

casePoint

public T casePoint(Point object)
Returns the result of interpreting the object as an instance of 'Point'. 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 'Point'.
See Also:
doSwitch(EObject)
Generated:

caseCoordinate

public T caseCoordinate(Coordinate object)
Returns the result of interpreting the object as an instance of 'Coordinate'. 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 'Coordinate'.
See Also:
doSwitch(EObject)
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: