public class GeometrySwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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.
GeometryPackage
Constructor and Description |
---|
GeometrySwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseBoundingBox(BoundingBox object)
Returns the result of interpreting the object as an instance of 'Bounding Box'.
|
T |
caseComplement(Complement object)
Returns the result of interpreting the object as an instance of 'Complement'.
|
T |
caseCube(Cube object)
Returns the result of interpreting the object as an instance of 'Cube'.
|
T |
caseCylinder(Cylinder object)
Returns the result of interpreting the object as an instance of 'Cylinder'.
|
T |
caseFace(Face object)
Returns the result of interpreting the object as an instance of 'Face'.
|
T |
caseGeometry(Geometry object)
Returns the result of interpreting the object as an instance of 'Geometry'.
|
T |
caseHeatExchanger(HeatExchanger object)
Returns the result of interpreting the object as an instance of 'Heat Exchanger'.
|
T |
caseIGeometryImporter(IGeometryImporter object)
Returns the result of interpreting the object as an instance of 'IGeometry Importer'.
|
T |
caseINode(INode object)
Returns the result of interpreting the object as an instance of 'INode'.
|
T |
caseIntersection(Intersection object)
Returns the result of interpreting the object as an instance of 'Intersection'.
|
T |
caseJunction(Junction object)
Returns the result of interpreting the object as an instance of 'Junction'.
|
T |
caseMaterial(Material object)
Returns the result of interpreting the object as an instance of 'Material'.
|
T |
caseOperator(Operator object)
Returns the result of interpreting the object as an instance of 'Operator'.
|
T |
casePipe(Pipe object)
Returns the result of interpreting the object as an instance of 'Pipe'.
|
T |
casePolyShape(PolyShape object)
Returns the result of interpreting the object as an instance of 'Poly Shape'.
|
T |
caseReactor(Reactor object)
Returns the result of interpreting the object as an instance of 'Reactor'.
|
T |
caseShape(Shape object)
Returns the result of interpreting the object as an instance of 'Shape'.
|
T |
caseSphere(Sphere object)
Returns the result of interpreting the object as an instance of 'Sphere'.
|
T |
caseSTLGeometryImporter(STLGeometryImporter object)
Returns the result of interpreting the object as an instance of 'STL Geometry Importer'.
|
T |
caseTriangle(Triangle object)
Returns the result of interpreting the object as an instance of 'Triangle'.
|
T |
caseTriangleStripPolyShape(TriangleStripPolyShape object)
Returns the result of interpreting the object as an instance of 'Triangle Strip Poly Shape'.
|
T |
caseTube(Tube object)
Returns the result of interpreting the object as an instance of 'Tube'.
|
T |
caseUnion(Union object)
Returns the result of interpreting the object as an instance of 'Union'.
|
T |
caseVertex(Vertex object)
Returns the result of interpreting the object as an instance of 'Vertex'.
|
T |
caseVertexSource(VertexSource object)
Returns the result of interpreting the object as an instance of 'Vertex Source'.
|
T |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public T caseShape(Shape object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriangle(Triangle object)
object
- the target of the switch.doSwitch(EObject)
public T caseVertex(Vertex object)
object
- the target of the switch.doSwitch(EObject)
public T caseSphere(Sphere object)
object
- the target of the switch.doSwitch(EObject)
public T caseCube(Cube object)
object
- the target of the switch.doSwitch(EObject)
public T caseCylinder(Cylinder object)
object
- the target of the switch.doSwitch(EObject)
public T caseGeometry(Geometry object)
object
- the target of the switch.doSwitch(EObject)
public T caseTube(Tube object)
object
- the target of the switch.doSwitch(EObject)
public T caseINode(INode object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperator(Operator object)
object
- the target of the switch.doSwitch(EObject)
public T caseUnion(Union object)
object
- the target of the switch.doSwitch(EObject)
public T caseIntersection(Intersection object)
object
- the target of the switch.doSwitch(EObject)
public T caseComplement(Complement object)
object
- the target of the switch.doSwitch(EObject)
public T caseMaterial(Material object)
object
- the target of the switch.doSwitch(EObject)
public T caseIGeometryImporter(IGeometryImporter object)
object
- the target of the switch.doSwitch(EObject)
public T caseSTLGeometryImporter(STLGeometryImporter object)
object
- the target of the switch.doSwitch(EObject)
public T casePipe(Pipe object)
object
- the target of the switch.doSwitch(EObject)
public T caseBoundingBox(BoundingBox object)
object
- the target of the switch.doSwitch(EObject)
public T caseJunction(Junction object)
object
- the target of the switch.doSwitch(EObject)
public T caseHeatExchanger(HeatExchanger object)
object
- the target of the switch.doSwitch(EObject)
public T caseReactor(Reactor object)
object
- the target of the switch.doSwitch(EObject)
public T casePolyShape(PolyShape object)
object
- the target of the switch.doSwitch(EObject)
public T caseFace(Face object)
object
- the target of the switch.doSwitch(EObject)
public T caseVertexSource(VertexSource object)
object
- the target of the switch.doSwitch(EObject)
public T caseTriangleStripPolyShape(TriangleStripPolyShape object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)