Class MoxelSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com._1c.g5.v8.dt.moxel.util.MoxelSwitch<T>

public class MoxelSwitch<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 Details

    • modelPackage

      protected static MoxelPackage modelPackage
      The cached model package
  • Constructor Details

    • MoxelSwitch

      public MoxelSwitch()
      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 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.
    • caseSpreadsheetDocument

      public T caseSpreadsheetDocument(SpreadsheetDocument object)
      Returns the result of interpreting the object as an instance of 'Spreadsheet Document'. 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 'Spreadsheet Document'.
      See Also:
      • doSwitch(EObject)
    • caseLanguageSettings

      public T caseLanguageSettings(LanguageSettings object)
      Returns the result of interpreting the object as an instance of 'Language Settings'. 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 'Language Settings'.
      See Also:
      • doSwitch(EObject)
    • caseLanguageInfo

      public T caseLanguageInfo(LanguageInfo object)
      Returns the result of interpreting the object as an instance of 'Language 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 'Language Info'.
      See Also:
      • doSwitch(EObject)
    • caseColumns

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

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

      public T caseColumnMapEntry(Map.Entry<Integer,Column> object)
      Returns the result of interpreting the object as an instance of 'Column Map Entry'. 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 'Column Map Entry'.
      See Also:
      • doSwitch(EObject)
    • caseRow

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

      public T caseRowMapEntry(Map.Entry<Integer,Row> object)
      Returns the result of interpreting the object as an instance of 'Row Map Entry'. 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 'Row Map Entry'.
      See Also:
      • doSwitch(EObject)
    • caseRect

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

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

      public T caseSpreadsheetRect(SpreadsheetRect object)
      Returns the result of interpreting the object as an instance of 'Spreadsheet Rect'. 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 'Spreadsheet Rect'.
      See Also:
      • doSwitch(EObject)
    • caseDrawing

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

      public T caseLineDrawing(LineDrawing object)
      Returns the result of interpreting the object as an instance of 'Line Drawing'. 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 Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseRectangleDrawing

      public T caseRectangleDrawing(RectangleDrawing object)
      Returns the result of interpreting the object as an instance of 'Rectangle Drawing'. 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 'Rectangle Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseEllipseDrawing

      public T caseEllipseDrawing(EllipseDrawing object)
      Returns the result of interpreting the object as an instance of 'Ellipse Drawing'. 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 'Ellipse Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseTextDrawing

      public T caseTextDrawing(TextDrawing object)
      Returns the result of interpreting the object as an instance of 'Text Drawing'. 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 Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseCommentDrawing

      public T caseCommentDrawing(CommentDrawing object)
      Returns the result of interpreting the object as an instance of 'Comment Drawing'. 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 'Comment Drawing'.
      See Also:
      • doSwitch(EObject)
    • casePictureDrawing

      public T casePictureDrawing(PictureDrawing object)
      Returns the result of interpreting the object as an instance of 'Picture Drawing'. 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 Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseObjectDrawing

      public T caseObjectDrawing(ObjectDrawing object)
      Returns the result of interpreting the object as an instance of 'Object Drawing'. 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 Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseChartDrawing

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

      public T caseGanttChartDrawing(GanttChartDrawing object)
      Returns the result of interpreting the object as an instance of 'Gantt Chart Drawing'. 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 'Gantt Chart Drawing'.
      See Also:
      • doSwitch(EObject)
    • casePivotChartDrawing

      public T casePivotChartDrawing(PivotChartDrawing object)
      Returns the result of interpreting the object as an instance of 'Pivot Chart Drawing'. 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 'Pivot Chart Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseDendrogramDrawing

      public T caseDendrogramDrawing(DendrogramDrawing object)
      Returns the result of interpreting the object as an instance of 'Dendrogram Drawing'. 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 'Dendrogram Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseGeographicalSchemaDrawing

      public T caseGeographicalSchemaDrawing(GeographicalSchemaDrawing object)
      Returns the result of interpreting the object as an instance of 'Geographical Schema Drawing'. 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 Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseControlDrawing

      public T caseControlDrawing(ControlDrawing object)
      Returns the result of interpreting the object as an instance of 'Control Drawing'. 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 'Control Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseUnsupportedObjectContent

      public T caseUnsupportedObjectContent(UnsupportedObjectContent object)
      Returns the result of interpreting the object as an instance of 'Unsupported Object Content'. 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 'Unsupported Object Content'.
      See Also:
      • doSwitch(EObject)
    • caseGroupDrawing

      public T caseGroupDrawing(GroupDrawing object)
      Returns the result of interpreting the object as an instance of 'Group Drawing'. 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 'Group Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseCellMapEntry

      public T caseCellMapEntry(Map.Entry<Integer,Cell> object)
      Returns the result of interpreting the object as an instance of 'Cell Map Entry'. 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 'Cell Map Entry'.
      See Also:
      • doSwitch(EObject)
    • caseCell

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

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

      public T caseRowGroup(RowGroup object)
      Returns the result of interpreting the object as an instance of 'Row Group'. 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 'Row Group'.
      See Also:
      • doSwitch(EObject)
    • caseColumnGroup

      public T caseColumnGroup(ColumnGroup object)
      Returns the result of interpreting the object as an instance of 'Column Group'. 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 'Column Group'.
      See Also:
      • doSwitch(EObject)
    • caseMerge

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

      public T caseColumnMerge(ColumnMerge object)
      Returns the result of interpreting the object as an instance of 'Column Merge'. 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 'Column Merge'.
      See Also:
      • doSwitch(EObject)
    • caseRowMerge

      public T caseRowMerge(RowMerge object)
      Returns the result of interpreting the object as an instance of 'Row Merge'. 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 'Row Merge'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItemMapItem

      public T caseNamedItemMapItem(Map.Entry<String,NamedItem> object)
      Returns the result of interpreting the object as an instance of 'Named Item Map 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 'Named Item Map Item'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItem

      public T caseNamedItem(NamedItem object)
      Returns the result of interpreting the object as an instance of 'Named 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 'Named Item'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItemDrawing

      public T caseNamedItemDrawing(NamedItemDrawing object)
      Returns the result of interpreting the object as an instance of 'Named Item Drawing'. 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 'Named Item Drawing'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItemCells

      public T caseNamedItemCells(NamedItemCells object)
      Returns the result of interpreting the object as an instance of 'Named Item Cells'. 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 'Named Item Cells'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItemEmbeddedTable

      public T caseNamedItemEmbeddedTable(NamedItemEmbeddedTable object)
      Returns the result of interpreting the object as an instance of 'Named Item Embedded Table'. 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 'Named Item Embedded Table'.
      See Also:
      • doSwitch(EObject)
    • caseNamedItemDataSource

      public T caseNamedItemDataSource(NamedItemDataSource object)
      Returns the result of interpreting the object as an instance of 'Named Item Data Source'. 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 'Named Item Data Source'.
      See Also:
      • doSwitch(EObject)
    • casePrintSettings

      public T casePrintSettings(PrintSettings object)
      Returns the result of interpreting the object as an instance of 'Print Settings'. 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 Settings'.
      See Also:
      • doSwitch(EObject)
    • caseRectArea

      public T caseRectArea(RectArea object)
      Returns the result of interpreting the object as an instance of 'Rect 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 'Rect Area'.
      See Also:
      • doSwitch(EObject)
    • caseRowsArea

      public T caseRowsArea(RowsArea object)
      Returns the result of interpreting the object as an instance of 'Rows 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 'Rows Area'.
      See Also:
      • doSwitch(EObject)
    • caseColumnsArea

      public T caseColumnsArea(ColumnsArea object)
      Returns the result of interpreting the object as an instance of 'Columns 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 'Columns Area'.
      See Also:
      • doSwitch(EObject)
    • caseTableArea

      public T caseTableArea(TableArea object)
      Returns the result of interpreting the object as an instance of 'Table 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 'Table Area'.
      See Also:
      • doSwitch(EObject)
    • caseDrawingsDataSource

      public T caseDrawingsDataSource(DrawingsDataSource object)
      Returns the result of interpreting the object as an instance of 'Drawings Data Source'. 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 'Drawings Data Source'.
      See Also:
      • doSwitch(EObject)
    • caseViewSettings

      public T caseViewSettings(ViewSettings object)
      Returns the result of interpreting the object as an instance of 'View Settings'. 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 'View Settings'.
      See Also:
      • doSwitch(EObject)
    • caseEmbeddedTableItem

      public T caseEmbeddedTableItem(EmbeddedTableItem object)
      Returns the result of interpreting the object as an instance of 'Embedded Table 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 'Embedded Table Item'.
      See Also:
      • doSwitch(EObject)
    • casePivotTable

      public T casePivotTable(PivotTable object)
      Returns the result of interpreting the object as an instance of 'Pivot Table'. 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 'Pivot Table'.
      See Also:
      • doSwitch(EObject)
    • caseFormat

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

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

      public T caseRuntimeValue(RuntimeValue object)
      Returns the result of interpreting the object as an instance of 'Runtime 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 'Runtime Value'.
      See Also:
      • doSwitch(EObject)
    • caseArea

      public T caseArea(Area object)
      Returns the result of interpreting the object as an instance of '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 'Area'.
      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)