Package com._1c.g5.v8.dt.mcore.util
Class McoreSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- com._1c.g5.v8.dt.mcore.util.McoreSwitch<T>
-
public class McoreSwitch<T> extends org.eclipse.emf.ecore.util.Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
McorePackage
-
-
Field Summary
Fields Modifier and Type Field Description protected static McorePackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description McoreSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseAbstractLine(AbstractLine object)
Returns the result of interpreting the object as an instance of 'Abstract Line'.T
caseAbstractMethod(AbstractMethod object)
Returns the result of interpreting the object as an instance of 'Abstract Method'.T
caseAutoFont(AutoFont object)
Returns the result of interpreting the object as an instance of 'Auto Font'.T
caseBinaryQualifiers(BinaryQualifiers object)
Returns the result of interpreting the object as an instance of 'Binary Qualifiers'.T
caseBinaryValue(BinaryValue object)
Returns the result of interpreting the object as an instance of 'Binary Value'.T
caseBooleanValue(BooleanValue object)
Returns the result of interpreting the object as an instance of 'Boolean Value'.T
caseBorder(Border object)
Returns the result of interpreting the object as an instance of 'Border'.T
caseBorderDef(BorderDef object)
Returns the result of interpreting the object as an instance of 'Border Def'.T
caseBorderRef(BorderRef object)
Returns the result of interpreting the object as an instance of 'Border Ref'.T
caseBorderValue(BorderValue object)
Returns the result of interpreting the object as an instance of 'Border Value'.T
caseColor(Color object)
Returns the result of interpreting the object as an instance of 'Color'.T
caseColorDef(ColorDef object)
Returns the result of interpreting the object as an instance of 'Color Def'.T
caseColorRef(ColorRef object)
Returns the result of interpreting the object as an instance of 'Color Ref'.T
caseColorValue(ColorValue object)
Returns the result of interpreting the object as an instance of 'Color Value'.T
caseCommand(Command object)
Returns the result of interpreting the object as an instance of 'Command'.T
caseCommandGroup(CommandGroup object)
Returns the result of interpreting the object as an instance of 'Command Group'.T
caseCommandRef(CommandRef object)
Returns the result of interpreting the object as an instance of 'Command Ref'.T
caseContainingSourceDerivedProperty(ContainingSourceDerivedProperty object)
Returns the result of interpreting the object as an instance of 'Containing Source Derived Property'.T
caseContextDef(ContextDef object)
Returns the result of interpreting the object as an instance of 'Context Def'.T
caseContextDefWithRefItem(ContextDefWithRefItem object)
Returns the result of interpreting the object as an instance of 'Context Def With Ref Item'.T
caseCtor(Ctor object)
Returns the result of interpreting the object as an instance of 'Ctor'.T
caseDateQualifiers(DateQualifiers object)
Returns the result of interpreting the object as an instance of 'Date Qualifiers'.T
caseDateValue(DateValue object)
Returns the result of interpreting the object as an instance of 'Date Value'.T
caseDerivedField(DerivedField object)
Returns the result of interpreting the object as an instance of 'Derived Field'.T
caseDerivedProperty(DerivedProperty object)
Returns the result of interpreting the object as an instance of 'Derived Property'.T
caseDuallyNamedElement(DuallyNamedElement object)
Returns the result of interpreting the object as an instance of 'Dually Named Element'.T
caseEmptyContextDef(EmptyContextDef object)
Returns the result of interpreting the object as an instance of 'Empty Context Def'.T
caseEnumValue(EnumValue object)
Returns the result of interpreting the object as an instance of 'Enum Value'.T
caseEnvironmental(Environmental object)
Returns the result of interpreting the object as an instance of 'Environmental'.T
caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'.T
caseFakeCtor(FakeCtor object)
Returns the result of interpreting the object as an instance of 'Fake Ctor'.T
caseFakeParameter(FakeParameter object)
Returns the result of interpreting the object as an instance of 'Fake Parameter'.T
caseField(Field object)
Returns the result of interpreting the object as an instance of 'Field'.T
caseFieldSource(FieldSource object)
Returns the result of interpreting the object as an instance of 'Field Source'.T
caseFixedArrayValue(FixedArrayValue object)
Returns the result of interpreting the object as an instance of 'Fixed Array Value'.T
caseFont(Font object)
Returns the result of interpreting the object as an instance of 'Font'.T
caseFontDef(FontDef object)
Returns the result of interpreting the object as an instance of 'Font Def'.T
caseFontRef(FontRef object)
Returns the result of interpreting the object as an instance of 'Font Ref'.T
caseFontValue(FontValue object)
Returns the result of interpreting the object as an instance of 'Font Value'.T
caseGeneralContextDef(GeneralContextDef object)
Returns the result of interpreting the object as an instance of 'General Context Def'.T
caseHelp(Help object)
Returns the result of interpreting the object as an instance of 'Help'.T
caseHelpPage(HelpPage object)
Returns the result of interpreting the object as an instance of 'Help Page'.T
caseIrresolvableReferenceValue(IrresolvableReferenceValue object)
Returns the result of interpreting the object as an instance of 'Irresolvable Reference Value'.T
caseLine(Line object)
Returns the result of interpreting the object as an instance of 'Line'.T
caseLineValue(LineValue object)
Returns the result of interpreting the object as an instance of 'Line Value'.T
caseLocalStringMapEntry(Map.Entry<String,String> object)
Returns the result of interpreting the object as an instance of 'Local String Map Entry'.T
caseMethod(Method object)
Returns the result of interpreting the object as an instance of 'Method'.T
caseMutableFont(MutableFont object)
Returns the result of interpreting the object as an instance of 'Mutable Font'.T
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.T
caseNullValue(NullValue object)
Returns the result of interpreting the object as an instance of 'Null Value'.T
caseNumberQualifiers(NumberQualifiers object)
Returns the result of interpreting the object as an instance of 'Number Qualifiers'.T
caseNumberValue(NumberValue object)
Returns the result of interpreting the object as an instance of 'Number Value'.T
caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'.T
caseParamSet(ParamSet object)
Returns the result of interpreting the object as an instance of 'Param Set'.T
casePicture(Picture object)
Returns the result of interpreting the object as an instance of 'Picture'.T
casePictureDef(PictureDef object)
Returns the result of interpreting the object as an instance of 'Picture Def'.T
casePictureRef(PictureRef object)
Returns the result of interpreting the object as an instance of 'Picture Ref'.T
casePoint(Point object)
Returns the result of interpreting the object as an instance of 'Point'.T
casePromiseType(PromiseType object)
Returns the result of interpreting the object as an instance of 'Promise Type'.T
caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property'.T
caseQName(QName object)
Returns the result of interpreting the object as an instance of 'QName'.T
caseRefContextDelegatingContextDef(RefContextDelegatingContextDef object)
Returns the result of interpreting the object as an instance of 'Ref Context Delegating Context Def'.T
caseReferenceValue(ReferenceValue object)
Returns the result of interpreting the object as an instance of 'Reference Value'.T
caseRuntimeValue(RuntimeValue object)
Returns the result of interpreting the object as an instance of 'Runtime Value'.T
caseStandardBeginningDate(StandardBeginningDate object)
Returns the result of interpreting the object as an instance of 'Standard Beginning Date'.T
caseStandardBeginningDateValue(StandardBeginningDateValue object)
Returns the result of interpreting the object as an instance of 'Standard Beginning Date Value'.T
caseStandardCommandGroup(StandardCommandGroup object)
Returns the result of interpreting the object as an instance of 'Standard Command Group'.T
caseStandardPeriod(StandardPeriod object)
Returns the result of interpreting the object as an instance of 'Standard Period'.T
caseStandardPeriodValue(StandardPeriodValue object)
Returns the result of interpreting the object as an instance of 'Standard Period Value'.T
caseStandardTabularPart(StandardTabularPart object)
Returns the result of interpreting the object as an instance of 'Standard Tabular Part'.T
caseStandardTabularPartSource(StandardTabularPartSource object)
Returns the result of interpreting the object as an instance of 'Standard Tabular Part Source'.T
caseStringQualifiers(StringQualifiers object)
Returns the result of interpreting the object as an instance of 'String Qualifiers'.T
caseStringValue(StringValue object)
Returns the result of interpreting the object as an instance of 'String Value'.T
caseStructure(Structure object)
Returns the result of interpreting the object as an instance of 'Structure'.T
caseStructureProperty(StructureProperty object)
Returns the result of interpreting the object as an instance of 'Structure Property'.T
caseStyleAppearanceItem(StyleAppearanceItem object)
Returns the result of interpreting the object as an instance of 'Style Appearance Item'.T
caseStyleBorder(StyleBorder object)
Returns the result of interpreting the object as an instance of 'Style Border'.T
caseStyleColor(StyleColor object)
Returns the result of interpreting the object as an instance of 'Style Color'.T
caseStyleFont(StyleFont object)
Returns the result of interpreting the object as an instance of 'Style Font'.T
caseSysEnumValue(SysEnumValue object)
Returns the result of interpreting the object as an instance of 'Sys Enum Value'.T
caseType(Type object)
Returns the result of interpreting the object as an instance of 'Type'.T
caseTypeContainer(TypeContainer object)
Returns the result of interpreting the object as an instance of 'Type Container'.T
caseTypeContainerDef(TypeContainerDef object)
Returns the result of interpreting the object as an instance of 'Type Container Def'.T
caseTypeContainerRef(TypeContainerRef object)
Returns the result of interpreting the object as an instance of 'Type Container Ref'.T
caseTypeDescription(TypeDescription object)
Returns the result of interpreting the object as an instance of 'Type Description'.T
caseTypeDescriptionValue(TypeDescriptionValue object)
Returns the result of interpreting the object as an instance of 'Type Description Value'.T
caseTypedValueList(TypedValueList object)
Returns the result of interpreting the object as an instance of 'Typed Value List'.T
caseTypedValueListItem(TypedValueListItem object)
Returns the result of interpreting the object as an instance of 'Typed Value List Item'.T
caseTypeItem(TypeItem object)
Returns the result of interpreting the object as an instance of 'Type Item'.T
caseTypeSet(TypeSet object)
Returns the result of interpreting the object as an instance of 'Type Set'.T
caseTypeValue(TypeValue object)
Returns the result of interpreting the object as an instance of 'Type Value'.T
caseUndefinedValue(UndefinedValue object)
Returns the result of interpreting the object as an instance of 'Undefined Value'.T
caseUuidValue(UuidValue object)
Returns the result of interpreting the object as an instance of 'Uuid Value'.T
caseValue(Value object)
Returns the result of interpreting the object as an instance of 'Value'.T
caseValueList(ValueList object)
Returns the result of interpreting the object as an instance of 'Value List'.T
caseVersionedItem(VersionedItem object)
Returns the result of interpreting the object as an instance of 'Versioned Item'.T
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.
-
-
-
Field Detail
-
modelPackage
protected static McorePackage modelPackage
The cached model package
-
-
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 classorg.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)
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.
-
caseEnvironmental
public T caseEnvironmental(Environmental object)
Returns the result of interpreting the object as an instance of 'Environmental'. 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 'Environmental'.
- See Also:
doSwitch(EObject)
-
caseLocalStringMapEntry
public T caseLocalStringMapEntry(Map.Entry<String,String> object)
Returns the result of interpreting the object as an instance of 'Local String 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 'Local String Map Entry'.
- See Also:
doSwitch(EObject)
-
caseNamedElement
public T caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'. 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 Element'.
- See Also:
doSwitch(EObject)
-
caseDuallyNamedElement
public T caseDuallyNamedElement(DuallyNamedElement object)
Returns the result of interpreting the object as an instance of 'Dually Named Element'. 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 'Dually Named Element'.
- See Also:
doSwitch(EObject)
-
caseVersionedItem
public T caseVersionedItem(VersionedItem object)
Returns the result of interpreting the object as an instance of 'Versioned 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 'Versioned Item'.
- See Also:
doSwitch(EObject)
-
caseTypeItem
public T caseTypeItem(TypeItem object)
Returns the result of interpreting the object as an instance of 'Type 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 'Type Item'.
- See Also:
doSwitch(EObject)
-
caseType
public T caseType(Type object)
Returns the result of interpreting the object as an instance of '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 'Type'.
- See Also:
doSwitch(EObject)
-
casePromiseType
public T casePromiseType(PromiseType object)
Returns the result of interpreting the object as an instance of 'Promise 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 'Promise Type'.
- See Also:
doSwitch(EObject)
-
caseEmptyContextDef
public T caseEmptyContextDef(EmptyContextDef object)
Returns the result of interpreting the object as an instance of 'Empty Context 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 'Empty Context Def'.
- See Also:
doSwitch(EObject)
-
caseCtor
public T caseCtor(Ctor object)
Returns the result of interpreting the object as an instance of 'Ctor'. 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 'Ctor'.
- See Also:
doSwitch(EObject)
-
caseFakeCtor
public T caseFakeCtor(FakeCtor object)
Returns the result of interpreting the object as an instance of 'Fake Ctor'. 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 'Fake Ctor'.
- See Also:
doSwitch(EObject)
-
caseFakeParameter
public T caseFakeParameter(FakeParameter object)
Returns the result of interpreting the object as an instance of 'Fake Parameter'. 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 'Fake Parameter'.
- See Also:
doSwitch(EObject)
-
caseTypeSet
public T caseTypeSet(TypeSet object)
Returns the result of interpreting the object as an instance of 'Type Set'. 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 'Type Set'.
- See Also:
doSwitch(EObject)
-
caseNumberQualifiers
public T caseNumberQualifiers(NumberQualifiers object)
Returns the result of interpreting the object as an instance of 'Number Qualifiers'. 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 'Number Qualifiers'.
- See Also:
doSwitch(EObject)
-
caseStringQualifiers
public T caseStringQualifiers(StringQualifiers object)
Returns the result of interpreting the object as an instance of 'String Qualifiers'. 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 'String Qualifiers'.
- See Also:
doSwitch(EObject)
-
caseDateQualifiers
public T caseDateQualifiers(DateQualifiers object)
Returns the result of interpreting the object as an instance of 'Date Qualifiers'. 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 'Date Qualifiers'.
- See Also:
doSwitch(EObject)
-
caseBinaryQualifiers
public T caseBinaryQualifiers(BinaryQualifiers object)
Returns the result of interpreting the object as an instance of 'Binary Qualifiers'. 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 Qualifiers'.
- See Also:
doSwitch(EObject)
-
caseTypeDescription
public T caseTypeDescription(TypeDescription object)
Returns the result of interpreting the object as an instance of 'Type Description'. 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 'Type Description'.
- 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)
-
caseTypeValue
public T caseTypeValue(TypeValue object)
Returns the result of interpreting the object as an instance of 'Type 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 'Type Value'.
- See Also:
doSwitch(EObject)
-
caseTypeDescriptionValue
public T caseTypeDescriptionValue(TypeDescriptionValue object)
Returns the result of interpreting the object as an instance of 'Type Description 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 'Type Description Value'.
- See Also:
doSwitch(EObject)
-
caseUndefinedValue
public T caseUndefinedValue(UndefinedValue object)
Returns the result of interpreting the object as an instance of 'Undefined 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 'Undefined Value'.
- See Also:
doSwitch(EObject)
-
caseNullValue
public T caseNullValue(NullValue object)
Returns the result of interpreting the object as an instance of 'Null 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 'Null Value'.
- See Also:
doSwitch(EObject)
-
caseNumberValue
public T caseNumberValue(NumberValue object)
Returns the result of interpreting the object as an instance of 'Number 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 'Number Value'.
- See Also:
doSwitch(EObject)
-
caseBooleanValue
public T caseBooleanValue(BooleanValue object)
Returns the result of interpreting the object as an instance of 'Boolean 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 'Boolean Value'.
- See Also:
doSwitch(EObject)
-
caseStringValue
public T caseStringValue(StringValue object)
Returns the result of interpreting the object as an instance of 'String 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 'String Value'.
- See Also:
doSwitch(EObject)
-
caseDateValue
public T caseDateValue(DateValue object)
Returns the result of interpreting the object as an instance of 'Date 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 'Date Value'.
- See Also:
doSwitch(EObject)
-
caseBinaryValue
public T caseBinaryValue(BinaryValue object)
Returns the result of interpreting the object as an instance of 'Binary 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 'Binary Value'.
- See Also:
doSwitch(EObject)
-
caseReferenceValue
public T caseReferenceValue(ReferenceValue object)
Returns the result of interpreting the object as an instance of 'Reference 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 'Reference Value'.
- See Also:
doSwitch(EObject)
-
caseEnumValue
public T caseEnumValue(EnumValue object)
Returns the result of interpreting the object as an instance of 'Enum 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 'Enum Value'.
- See Also:
doSwitch(EObject)
-
caseSysEnumValue
public T caseSysEnumValue(SysEnumValue object)
Returns the result of interpreting the object as an instance of 'Sys Enum 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 'Sys Enum Value'.
- See Also:
doSwitch(EObject)
-
caseColorValue
public T caseColorValue(ColorValue object)
Returns the result of interpreting the object as an instance of 'Color 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 'Color Value'.
- See Also:
doSwitch(EObject)
-
caseFontValue
public T caseFontValue(FontValue object)
Returns the result of interpreting the object as an instance of 'Font 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 'Font Value'.
- See Also:
doSwitch(EObject)
-
caseLineValue
public T caseLineValue(LineValue object)
Returns the result of interpreting the object as an instance of 'Line 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 'Line Value'.
- See Also:
doSwitch(EObject)
-
caseBorderValue
public T caseBorderValue(BorderValue object)
Returns the result of interpreting the object as an instance of 'Border 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 'Border Value'.
- See Also:
doSwitch(EObject)
-
caseIrresolvableReferenceValue
public T caseIrresolvableReferenceValue(IrresolvableReferenceValue object)
Returns the result of interpreting the object as an instance of 'Irresolvable Reference 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 'Irresolvable Reference Value'.
- See Also:
doSwitch(EObject)
-
caseValueList
public T caseValueList(ValueList object)
Returns the result of interpreting the object as an instance of 'Value List'. 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 List'.
- See Also:
doSwitch(EObject)
-
caseFixedArrayValue
public T caseFixedArrayValue(FixedArrayValue object)
Returns the result of interpreting the object as an instance of 'Fixed Array 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 'Fixed Array Value'.
- See Also:
doSwitch(EObject)
-
caseTypedValueListItem
public T caseTypedValueListItem(TypedValueListItem object)
Returns the result of interpreting the object as an instance of 'Typed Value List 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 'Typed Value List Item'.
- See Also:
doSwitch(EObject)
-
caseTypedValueList
public T caseTypedValueList(TypedValueList object)
Returns the result of interpreting the object as an instance of 'Typed Value List'. 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 'Typed Value List'.
- See Also:
doSwitch(EObject)
-
caseStructureProperty
public T caseStructureProperty(StructureProperty object)
Returns the result of interpreting the object as an instance of 'Structure Property'. 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 'Structure Property'.
- See Also:
doSwitch(EObject)
-
caseStructure
public T caseStructure(Structure object)
Returns the result of interpreting the object as an instance of 'Structure'. 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 'Structure'.
- See Also:
doSwitch(EObject)
-
caseUuidValue
public T caseUuidValue(UuidValue object)
Returns the result of interpreting the object as an instance of 'Uuid 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 'Uuid 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)
-
caseStandardBeginningDate
public T caseStandardBeginningDate(StandardBeginningDate object)
Returns the result of interpreting the object as an instance of 'Standard Beginning Date'. 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 'Standard Beginning Date'.
- See Also:
doSwitch(EObject)
-
caseStandardBeginningDateValue
public T caseStandardBeginningDateValue(StandardBeginningDateValue object)
Returns the result of interpreting the object as an instance of 'Standard Beginning Date 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 'Standard Beginning Date Value'.
- See Also:
doSwitch(EObject)
-
caseStandardPeriod
public T caseStandardPeriod(StandardPeriod object)
Returns the result of interpreting the object as an instance of 'Standard Period'. 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 'Standard Period'.
- See Also:
doSwitch(EObject)
-
caseStandardPeriodValue
public T caseStandardPeriodValue(StandardPeriodValue object)
Returns the result of interpreting the object as an instance of 'Standard Period 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 'Standard Period Value'.
- See Also:
doSwitch(EObject)
-
caseContextDef
public T caseContextDef(ContextDef object)
Returns the result of interpreting the object as an instance of 'Context 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 'Context Def'.
- See Also:
doSwitch(EObject)
-
caseContextDefWithRefItem
public T caseContextDefWithRefItem(ContextDefWithRefItem object)
Returns the result of interpreting the object as an instance of 'Context Def With Ref 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 'Context Def With Ref Item'.
- See Also:
doSwitch(EObject)
-
caseProperty
public T caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property'. 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 'Property'.
- See Also:
doSwitch(EObject)
-
caseTypeContainer
public T caseTypeContainer(TypeContainer object)
Returns the result of interpreting the object as an instance of 'Type Container'. 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 'Type Container'.
- See Also:
doSwitch(EObject)
-
caseTypeContainerRef
public T caseTypeContainerRef(TypeContainerRef object)
Returns the result of interpreting the object as an instance of 'Type Container Ref'. 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 'Type Container Ref'.
- See Also:
doSwitch(EObject)
-
caseTypeContainerDef
public T caseTypeContainerDef(TypeContainerDef object)
Returns the result of interpreting the object as an instance of 'Type Container 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 'Type Container Def'.
- See Also:
doSwitch(EObject)
-
caseDerivedProperty
public T caseDerivedProperty(DerivedProperty object)
Returns the result of interpreting the object as an instance of 'Derived Property'. 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 'Derived Property'.
- See Also:
doSwitch(EObject)
-
caseContainingSourceDerivedProperty
public T caseContainingSourceDerivedProperty(ContainingSourceDerivedProperty object)
Returns the result of interpreting the object as an instance of 'Containing Source Derived Property'. 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 'Containing Source Derived Property'.
- See Also:
doSwitch(EObject)
-
caseAbstractMethod
public T caseAbstractMethod(AbstractMethod object)
Returns the result of interpreting the object as an instance of 'Abstract Method'. 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 Method'.
- See Also:
doSwitch(EObject)
-
caseMethod
public T caseMethod(Method object)
Returns the result of interpreting the object as an instance of 'Method'. 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 'Method'.
- See Also:
doSwitch(EObject)
-
caseEvent
public T caseEvent(Event object)
Returns the result of interpreting the object as an instance of 'Event'. 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 'Event'.
- See Also:
doSwitch(EObject)
-
caseParamSet
public T caseParamSet(ParamSet object)
Returns the result of interpreting the object as an instance of 'Param Set'. 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 'Param Set'.
- See Also:
doSwitch(EObject)
-
caseParameter
public T caseParameter(Parameter object)
Returns the result of interpreting the object as an instance of 'Parameter'. 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 'Parameter'.
- See Also:
doSwitch(EObject)
-
caseGeneralContextDef
public T caseGeneralContextDef(GeneralContextDef object)
Returns the result of interpreting the object as an instance of 'General Context 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 'General Context Def'.
- See Also:
doSwitch(EObject)
-
caseField
public T caseField(Field object)
Returns the result of interpreting the object as an instance of 'Field'. 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 'Field'.
- See Also:
doSwitch(EObject)
-
caseDerivedField
public T caseDerivedField(DerivedField object)
Returns the result of interpreting the object as an instance of 'Derived Field'. 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 'Derived Field'.
- See Also:
doSwitch(EObject)
-
caseFieldSource
public T caseFieldSource(FieldSource object)
Returns the result of interpreting the object as an instance of 'Field 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 'Field Source'.
- See Also:
doSwitch(EObject)
-
caseStandardTabularPartSource
public T caseStandardTabularPartSource(StandardTabularPartSource object)
Returns the result of interpreting the object as an instance of 'Standard Tabular Part 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 'Standard Tabular Part Source'.
- See Also:
doSwitch(EObject)
-
caseStandardTabularPart
public T caseStandardTabularPart(StandardTabularPart object)
Returns the result of interpreting the object as an instance of 'Standard Tabular Part'. 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 'Standard Tabular Part'.
- See Also:
doSwitch(EObject)
-
caseCommand
public T caseCommand(Command object)
Returns the result of interpreting the object as an instance of 'Command'. 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 'Command'.
- See Also:
doSwitch(EObject)
-
caseCommandRef
public T caseCommandRef(CommandRef object)
Returns the result of interpreting the object as an instance of 'Command Ref'. 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 'Command Ref'.
- See Also:
doSwitch(EObject)
-
caseCommandGroup
public T caseCommandGroup(CommandGroup object)
Returns the result of interpreting the object as an instance of 'Command 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 'Command Group'.
- See Also:
doSwitch(EObject)
-
caseStandardCommandGroup
public T caseStandardCommandGroup(StandardCommandGroup object)
Returns the result of interpreting the object as an instance of 'Standard Command 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 'Standard Command Group'.
- 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)
-
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)
-
casePictureRef
public T casePictureRef(PictureRef object)
Returns the result of interpreting the object as an instance of 'Picture Ref'. 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 Ref'.
- 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)
-
caseColor
public T caseColor(Color object)
Returns the result of interpreting the object as an instance of 'Color'. 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 'Color'.
- See Also:
doSwitch(EObject)
-
caseColorDef
public T caseColorDef(ColorDef object)
Returns the result of interpreting the object as an instance of 'Color 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 'Color Def'.
- See Also:
doSwitch(EObject)
-
caseColorRef
public T caseColorRef(ColorRef object)
Returns the result of interpreting the object as an instance of 'Color Ref'. 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 'Color Ref'.
- See Also:
doSwitch(EObject)
-
caseStyleAppearanceItem
public T caseStyleAppearanceItem(StyleAppearanceItem object)
Returns the result of interpreting the object as an instance of 'Style Appearance 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 'Style Appearance Item'.
- See Also:
doSwitch(EObject)
-
caseStyleColor
public T caseStyleColor(StyleColor object)
Returns the result of interpreting the object as an instance of 'Style Color'. 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 Color'.
- See Also:
doSwitch(EObject)
-
caseStyleBorder
public T caseStyleBorder(StyleBorder object)
Returns the result of interpreting the object as an instance of 'Style Border'. 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 Border'.
- See Also:
doSwitch(EObject)
-
caseStyleFont
public T caseStyleFont(StyleFont object)
Returns the result of interpreting the object as an instance of 'Style Font'. 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 Font'.
- See Also:
doSwitch(EObject)
-
caseBorder
public T caseBorder(Border object)
Returns the result of interpreting the object as an instance of 'Border'. 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 'Border'.
- See Also:
doSwitch(EObject)
-
caseBorderDef
public T caseBorderDef(BorderDef object)
Returns the result of interpreting the object as an instance of 'Border 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 'Border Def'.
- See Also:
doSwitch(EObject)
-
caseBorderRef
public T caseBorderRef(BorderRef object)
Returns the result of interpreting the object as an instance of 'Border Ref'. 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 'Border Ref'.
- See Also:
doSwitch(EObject)
-
caseFont
public T caseFont(Font object)
Returns the result of interpreting the object as an instance of 'Font'. 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 'Font'.
- See Also:
doSwitch(EObject)
-
caseMutableFont
public T caseMutableFont(MutableFont object)
Returns the result of interpreting the object as an instance of 'Mutable Font'. 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 'Mutable Font'.
- See Also:
doSwitch(EObject)
-
caseFontDef
public T caseFontDef(FontDef object)
Returns the result of interpreting the object as an instance of 'Font 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 'Font Def'.
- See Also:
doSwitch(EObject)
-
caseAutoFont
public T caseAutoFont(AutoFont object)
Returns the result of interpreting the object as an instance of 'Auto Font'. 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 'Auto Font'.
- See Also:
doSwitch(EObject)
-
caseFontRef
public T caseFontRef(FontRef object)
Returns the result of interpreting the object as an instance of 'Font Ref'. 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 'Font Ref'.
- See Also:
doSwitch(EObject)
-
caseAbstractLine
public T caseAbstractLine(AbstractLine object)
Returns the result of interpreting the object as an instance of 'Abstract Line'. 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 Line'.
- See Also:
doSwitch(EObject)
-
caseLine
public T caseLine(Line object)
Returns the result of interpreting the object as an instance of 'Line'. 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'.
- See Also:
doSwitch(EObject)
-
caseHelp
public T caseHelp(Help object)
Returns the result of interpreting the object as an instance of 'Help'. 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 'Help'.
- See Also:
doSwitch(EObject)
-
caseHelpPage
public T caseHelpPage(HelpPage object)
Returns the result of interpreting the object as an instance of 'Help Page'. 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 'Help Page'.
- See Also:
doSwitch(EObject)
-
caseRefContextDelegatingContextDef
public T caseRefContextDelegatingContextDef(RefContextDelegatingContextDef object)
Returns the result of interpreting the object as an instance of 'Ref Context Delegating Context 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 'Ref Context Delegating Context Def'.
- See Also:
doSwitch(EObject)
-
caseQName
public T caseQName(QName object)
Returns the result of interpreting the object as an instance of 'QName'. 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 'QName'.
- 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 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)
-
-