Class wmtsv_1Switch<T>

Object
Switch<T>
wmtsv_1Switch<T>

public class wmtsv_1Switch<T> extends 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 Details

    • modelPackage

      protected static wmtsv_1Package modelPackage
      The cached model package
  • Constructor Details

    • wmtsv_1Switch

      public wmtsv_1Switch()
      Creates an instance of the switch.
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor(EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
    • 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.
      Overrides:
      doSwitch in class Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
    • caseBinaryPayloadType

      public T caseBinaryPayloadType(BinaryPayloadType object)
      Returns the result of interpreting the object as an instance of 'Binary Payload Type'. 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 'Binary Payload Type'.
      See Also:
      • doSwitch(EObject)
    • caseCapabilitiesType

      public T caseCapabilitiesType(CapabilitiesType object)
      Returns the result of interpreting the object as an instance of 'Capabilities Type'. 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 'Capabilities Type'.
      See Also:
      • doSwitch(EObject)
    • caseContentsType

      public T caseContentsType(ContentsType object)
      Returns the result of interpreting the object as an instance of 'Contents Type'. 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 'Contents Type'.
      See Also:
      • doSwitch(EObject)
    • caseDimensionNameValueType

      public T caseDimensionNameValueType(DimensionNameValueType object)
      Returns the result of interpreting the object as an instance of 'Dimension Name Value Type'. 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 'Dimension Name Value Type'.
      See Also:
      • doSwitch(EObject)
    • caseDimensionType

      public T caseDimensionType(DimensionType object)
      Returns the result of interpreting the object as an instance of 'Dimension Type'. 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 'Dimension Type'.
      See Also:
      • doSwitch(EObject)
    • caseDocumentRoot

      public T caseDocumentRoot(DocumentRoot object)
      Returns the result of interpreting the object as an instance of 'Document Root'. 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 'Document Root'.
      See Also:
      • doSwitch(EObject)
    • caseFeatureInfoResponseType

      public T caseFeatureInfoResponseType(FeatureInfoResponseType object)
      Returns the result of interpreting the object as an instance of 'Feature Info Response Type'. 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 'Feature Info Response Type'.
      See Also:
      • doSwitch(EObject)
    • caseGetCapabilitiesType

      public T caseGetCapabilitiesType(GetCapabilitiesType object)
      Returns the result of interpreting the object as an instance of 'Get Capabilities Type'. 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 'Get Capabilities Type'.
      See Also:
      • doSwitch(EObject)
    • caseGetFeatureInfoType

      public T caseGetFeatureInfoType(GetFeatureInfoType object)
      Returns the result of interpreting the object as an instance of 'Get Feature Info Type'. 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 'Get Feature Info Type'.
      See Also:
      • doSwitch(EObject)
    • caseGetTileType

      public T caseGetTileType(GetTileType object)
      Returns the result of interpreting the object as an instance of 'Get Tile Type'. 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 'Get Tile Type'.
      See Also:
      • doSwitch(EObject)
    • caseLayerType

      public T caseLayerType(LayerType object)
      Returns the result of interpreting the object as an instance of 'Layer Type'. 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 Type'.
      See Also:
      • doSwitch(EObject)
    • caseLegendURLType

      public T caseLegendURLType(LegendURLType object)
      Returns the result of interpreting the object as an instance of 'Legend URL Type'. 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 URL Type'.
      See Also:
      • doSwitch(EObject)
    • caseStyleType

      public T caseStyleType(StyleType object)
      Returns the result of interpreting the object as an instance of 'Style Type'. 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 'Style Type'.
      See Also:
      • doSwitch(EObject)
    • caseTextPayloadType

      public T caseTextPayloadType(TextPayloadType object)
      Returns the result of interpreting the object as an instance of 'Text Payload Type'. 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 'Text Payload Type'.
      See Also:
      • doSwitch(EObject)
    • caseThemesType

      public T caseThemesType(ThemesType object)
      Returns the result of interpreting the object as an instance of 'Themes Type'. 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 'Themes Type'.
      See Also:
      • doSwitch(EObject)
    • caseThemeType

      public T caseThemeType(ThemeType object)
      Returns the result of interpreting the object as an instance of 'Theme Type'. 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 'Theme Type'.
      See Also:
      • doSwitch(EObject)
    • caseTileMatrixLimitsType

      public T caseTileMatrixLimitsType(TileMatrixLimitsType object)
      Returns the result of interpreting the object as an instance of 'Tile Matrix Limits Type'. 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 'Tile Matrix Limits Type'.
      See Also:
      • doSwitch(EObject)
    • caseTileMatrixSetLimitsType

      public T caseTileMatrixSetLimitsType(TileMatrixSetLimitsType object)
      Returns the result of interpreting the object as an instance of 'Tile Matrix Set Limits Type'. 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 'Tile Matrix Set Limits Type'.
      See Also:
      • doSwitch(EObject)
    • caseTileMatrixSetLinkType

      public T caseTileMatrixSetLinkType(TileMatrixSetLinkType object)
      Returns the result of interpreting the object as an instance of 'Tile Matrix Set Link Type'. 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 'Tile Matrix Set Link Type'.
      See Also:
      • doSwitch(EObject)
    • caseTileMatrixSetType

      public T caseTileMatrixSetType(TileMatrixSetType object)
      Returns the result of interpreting the object as an instance of 'Tile Matrix Set Type'. 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 'Tile Matrix Set Type'.
      See Also:
      • doSwitch(EObject)
    • caseTileMatrixType

      public T caseTileMatrixType(TileMatrixType object)
      Returns the result of interpreting the object as an instance of 'Tile Matrix Type'. 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 'Tile Matrix Type'.
      See Also:
      • doSwitch(EObject)
    • caseURLTemplateType

      public T caseURLTemplateType(URLTemplateType object)
      Returns the result of interpreting the object as an instance of 'URL Template Type'. 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 'URL Template Type'.
      See Also:
      • doSwitch(EObject)
    • caseCapabilitiesBaseType

      public T caseCapabilitiesBaseType(CapabilitiesBaseType object)
      Returns the result of interpreting the object as an instance of 'Capabilities Base Type'. 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 'Capabilities Base Type'.
      See Also:
      • doSwitch(EObject)
    • caseContentsBaseType

      public T caseContentsBaseType(ContentsBaseType object)
      Returns the result of interpreting the object as an instance of 'Contents Base Type'. 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 'Contents Base Type'.
      See Also:
      • doSwitch(EObject)
    • caseDescriptionType

      public T caseDescriptionType(DescriptionType object)
      Returns the result of interpreting the object as an instance of 'Description Type'. 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 'Description Type'.
      See Also:
      • doSwitch(EObject)
    • caseOws11_GetCapabilitiesType

      public T caseOws11_GetCapabilitiesType(GetCapabilitiesType object)
      Returns the result of interpreting the object as an instance of 'Get Capabilities Type'. 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 'Get Capabilities Type'.
      See Also:
      • doSwitch(EObject)
    • caseDatasetDescriptionSummaryBaseType

      public T caseDatasetDescriptionSummaryBaseType(DatasetDescriptionSummaryBaseType object)
      Returns the result of interpreting the object as an instance of 'Dataset Description Summary Base Type'. 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 'Dataset Description Summary Base Type'.
      See Also:
      • doSwitch(EObject)
    • caseOnlineResourceType

      public T caseOnlineResourceType(OnlineResourceType object)
      Returns the result of interpreting the object as an instance of 'Online Resource Type'. 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 'Online Resource Type'.
      See Also:
      • doSwitch(EObject)
    • 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.
      Overrides:
      defaultCase in class 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)