Class 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:
    GeographicalSchemaPackage
    • Constructor Detail

      • GeographicalSchemaSwitch

        public GeographicalSchemaSwitch()
        Creates an instance of the switch.
    • Method Detail

      • isSwitchFor

        protected boolean isSwitchFor​(org.eclipse.emf.ecore.EPackage ePackage)
        Checks whether this is a switch for the given package.
        Specified by:
        isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
        Parameters:
        ePackage - the package in question.
        Returns:
        whether this is a switch for the given package.
      • doSwitch

        protected T doSwitch​(int classifierID,
                             org.eclipse.emf.ecore.EObject theEObject)
        Calls caseXXX for each class of the model until one returns a non null result; it yields that result.
        Overrides:
        doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
        Returns:
        the first non-null result returned by a caseXXX call.
      • caseShapeCoordinateSystemInfo

        public T caseShapeCoordinateSystemInfo​(ShapeCoordinateSystemInfo object)
        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

        public T caseDataSeriesItem​(DataSeriesItem object)
        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

        public T caseObjectSeriesValue​(ObjectSeriesValue object)
        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

        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)
      • caseLayerObject

        public T caseLayerObject​(LayerObject object)
        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

        public T casePointShape​(PointShape object)
        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

        public T caseSinglePointShape​(SinglePointShape object)
        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

        public T caseMultiPointShape​(MultiPointShape object)
        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

        public T caseLineStyle​(LineStyle object)
        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

        public T casePointContour​(PointContour object)
        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

        public T casePolylineShape​(PolylineShape object)
        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

        public T casePolygonShape​(PolygonShape object)
        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

        public T caseLayerItem​(LayerItem object)
        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

        public T caseLegendItem​(LegendItem object)
        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

        public T caseGeographicalSchemaComponent​(GeographicalSchemaComponent object)
        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

        public T caseGeographicalSchemaLegend​(GeographicalSchemaLegend object)
        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

        public T caseGeographicalSchemaDrawingArea​(GeographicalSchemaDrawingArea object)
        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

        public T caseGeographicalSchemaTitle​(GeographicalSchemaTitle object)
        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

        public T casePrintOption​(Map.Entry<Integer,​Value> object)
        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

        public T caseGeographicalSchema​(GeographicalSchema object)
        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

        public T caseGeoPicture​(GeoPicture object)
        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

        public T caseAbstractGeographicalSchema​(AbstractGeographicalSchema object)
        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

        public T casePicture​(Picture object)
        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

        public T casePictureDef​(PictureDef object)
        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

        public T defaultCase​(org.eclipse.emf.ecore.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.
        Overrides:
        defaultCase in class org.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)