Class GeographicalSchemaSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com._1c.g5.v8.dt.geographicalschema.model.util.GeographicalSchemaSwitch<T>
public class GeographicalSchemaSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static GeographicalSchemaPackage
The cached model package -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Abstract Geographical Schema'.caseDataSeriesItem
(DataSeriesItem object) Returns the result of interpreting the object as an instance of 'Data Series Item'.Returns the result of interpreting the object as an instance of 'Geographical Schema'.Returns the result of interpreting the object as an instance of 'Component'.Returns the result of interpreting the object as an instance of 'Drawing Area'.Returns the result of interpreting the object as an instance of 'Legend'.Returns the result of interpreting the object as an instance of 'Title'.caseGeoPicture
(GeoPicture object) Returns the result of interpreting the object as an instance of 'Geo Picture'.caseLayerItem
(LayerItem object) Returns the result of interpreting the object as an instance of 'Layer Item'.caseLayerObject
(LayerObject object) Returns the result of interpreting the object as an instance of 'Layer Object'.caseLegendItem
(LegendItem object) Returns the result of interpreting the object as an instance of 'Legend Item'.caseLineStyle
(LineStyle object) Returns the result of interpreting the object as an instance of 'Line Style'.caseMultiPointShape
(MultiPointShape object) Returns the result of interpreting the object as an instance of 'Multi Point Shape'.Returns the result of interpreting the object as an instance of 'Object Series Value'.casePicture
(Picture object) Returns the result of interpreting the object as an instance of 'Picture'.casePictureDef
(PictureDef object) Returns the result of interpreting the object as an instance of 'Picture Def'.Returns the result of interpreting the object as an instance of 'Point'.casePointContour
(PointContour object) Returns the result of interpreting the object as an instance of 'Point Contour'.casePointShape
(PointShape object) Returns the result of interpreting the object as an instance of 'Point Shape'.casePolygonShape
(PolygonShape object) Returns the result of interpreting the object as an instance of 'Polygon Shape'.casePolylineShape
(PolylineShape object) Returns the result of interpreting the object as an instance of 'Polyline Shape'.casePrintOption
(Map.Entry<Integer, Value> object) Returns the result of interpreting the object as an instance of 'Print Option'.Returns the result of interpreting the object as an instance of 'Shape Coordinate System Info'.caseSinglePointShape
(SinglePointShape object) Returns the result of interpreting the object as an instance of 'Single Point Shape'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package
-
-
Constructor Details
-
GeographicalSchemaSwitch
public GeographicalSchemaSwitch()Creates an instance of the switch.
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseShapeCoordinateSystemInfo
Returns the result of interpreting the object as an instance of 'Shape Coordinate System Info'. 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 'Shape Coordinate System Info'.
- See Also:
-
doSwitch(EObject)
-
caseDataSeriesItem
Returns the result of interpreting the object as an instance of 'Data Series 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 interpreting the object as an instance of 'Data Series Item'.
- See Also:
-
doSwitch(EObject)
-
caseObjectSeriesValue
Returns the result of interpreting the object as an instance of 'Object Series Value'. 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 'Object Series Value'.
- See Also:
-
doSwitch(EObject)
-
casePoint
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)
-
caseLayerObject
Returns the result of interpreting the object as an instance of 'Layer 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 interpreting the object as an instance of 'Layer Object'.
- See Also:
-
doSwitch(EObject)
-
casePointShape
Returns the result of interpreting the object as an instance of 'Point Shape'. 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 Shape'.
- See Also:
-
doSwitch(EObject)
-
caseSinglePointShape
Returns the result of interpreting the object as an instance of 'Single Point Shape'. 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 'Single Point Shape'.
- See Also:
-
doSwitch(EObject)
-
caseMultiPointShape
Returns the result of interpreting the object as an instance of 'Multi Point Shape'. 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 'Multi Point Shape'.
- See Also:
-
doSwitch(EObject)
-
caseLineStyle
Returns the result of interpreting the object as an instance of 'Line Style'. 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 'Line Style'.
- See Also:
-
doSwitch(EObject)
-
casePointContour
Returns the result of interpreting the object as an instance of 'Point Contour'. 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 Contour'.
- See Also:
-
doSwitch(EObject)
-
casePolylineShape
Returns the result of interpreting the object as an instance of 'Polyline Shape'. 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 'Polyline Shape'.
- See Also:
-
doSwitch(EObject)
-
casePolygonShape
Returns the result of interpreting the object as an instance of 'Polygon Shape'. 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 'Polygon Shape'.
- See Also:
-
doSwitch(EObject)
-
caseLayerItem
Returns the result of interpreting the object as an instance of 'Layer 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 interpreting the object as an instance of 'Layer Item'.
- See Also:
-
doSwitch(EObject)
-
caseLegendItem
Returns the result of interpreting the object as an instance of 'Legend 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 interpreting the object as an instance of 'Legend Item'.
- See Also:
-
doSwitch(EObject)
-
caseGeographicalSchemaComponent
Returns the result of interpreting the object as an instance of 'Component'. 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 'Component'.
- See Also:
-
doSwitch(EObject)
-
caseGeographicalSchemaLegend
Returns the result of interpreting the object as an instance of 'Legend'. 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 'Legend'.
- See Also:
-
doSwitch(EObject)
-
caseGeographicalSchemaDrawingArea
Returns the result of interpreting the object as an instance of 'Drawing Area'. 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 'Drawing Area'.
- See Also:
-
doSwitch(EObject)
-
caseGeographicalSchemaTitle
Returns the result of interpreting the object as an instance of 'Title'. 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 'Title'.
- See Also:
-
doSwitch(EObject)
-
casePrintOption
Returns the result of interpreting the object as an instance of 'Print Option'. 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 'Print Option'.
- See Also:
-
doSwitch(EObject)
-
caseGeographicalSchema
Returns the result of interpreting the object as an instance of 'Geographical Schema'. 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 'Geographical Schema'.
- See Also:
-
doSwitch(EObject)
-
caseGeoPicture
Returns the result of interpreting the object as an instance of 'Geo Picture'. 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 'Geo Picture'.
- See Also:
-
doSwitch(EObject)
-
caseAbstractGeographicalSchema
Returns the result of interpreting the object as an instance of 'Abstract Geographical Schema'. 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 'Abstract Geographical Schema'.
- See Also:
-
doSwitch(EObject)
-
casePicture
Returns the result of interpreting the object as an instance of 'Picture'. 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 'Picture'.
- See Also:
-
doSwitch(EObject)
-
casePictureDef
Returns the result of interpreting the object as an instance of 'Picture 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 'Picture Def'.
- See Also:
-
doSwitch(EObject)
-
defaultCase
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.- Overrides:
defaultCase
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
-