Package io.opencaesar.oml.util
Class OmlSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
io.opencaesar.oml.util.OmlSwitch<T>
public class OmlSwitch<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:
- Generated:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncaseAnnotation
(Annotation object) Returns the result of interpreting the object as an instance of 'Annotation'.Returns the result of interpreting the object as an instance of 'Annotation Property'.caseArgument
(Argument object) Returns the result of interpreting the object as an instance of 'Argument'.caseAspect
(Aspect object) Returns the result of interpreting the object as an instance of 'Aspect'.caseAssertion
(Assertion object) Returns the result of interpreting the object as an instance of 'Assertion'.Returns the result of interpreting the object as an instance of 'Axiom'.caseBinaryPredicate
(BinaryPredicate object) Returns the result of interpreting the object as an instance of 'Binary Predicate'.caseBooleanLiteral
(BooleanLiteral object) Returns the result of interpreting the object as an instance of 'Boolean Literal'.caseBuiltIn
(BuiltIn object) Returns the result of interpreting the object as an instance of 'Built In'.caseBuiltInPredicate
(BuiltInPredicate object) Returns the result of interpreting the object as an instance of 'Built In Predicate'.caseClassifier
(Classifier object) Returns the result of interpreting the object as an instance of 'Classifier'.Returns the result of interpreting the object as an instance of 'Classifier Equivalence Axiom'.caseConcept
(Concept object) Returns the result of interpreting the object as an instance of 'Concept'.caseConceptInstance
(ConceptInstance object) Returns the result of interpreting the object as an instance of 'Concept Instance'.caseDecimalLiteral
(DecimalLiteral object) Returns the result of interpreting the object as an instance of 'Decimal Literal'.caseDescription
(Description object) Returns the result of interpreting the object as an instance of 'Description'.caseDescriptionBox
(DescriptionBox object) Returns the result of interpreting the object as an instance of 'Description Box'.Returns the result of interpreting the object as an instance of 'Description Bundle'.Returns the result of interpreting the object as an instance of 'Description Member'.Returns the result of interpreting the object as an instance of 'Description Statement'.Returns the result of interpreting the object as an instance of 'Different From Predicate'.caseDoubleLiteral
(DoubleLiteral object) Returns the result of interpreting the object as an instance of 'Double Literal'.caseElement
(Element object) Returns the result of interpreting the object as an instance of 'Element'.caseEntity
(Entity object) Returns the result of interpreting the object as an instance of 'Entity'.caseForwardRelation
(ForwardRelation object) Returns the result of interpreting the object as an instance of 'Forward Relation'.Returns the result of interpreting the object as an instance of 'Identified Element'.caseImport
(Import object) Returns the result of interpreting the object as an instance of 'Import'.caseInstance
(Instance object) Returns the result of interpreting the object as an instance of 'Instance'.Returns the result of interpreting the object as an instance of 'Instance Enumeration Axiom'.caseIntegerLiteral
(IntegerLiteral object) Returns the result of interpreting the object as an instance of 'Integer Literal'.caseKeyAxiom
(KeyAxiom object) Returns the result of interpreting the object as an instance of 'Key Axiom'.caseLiteral
(Literal object) Returns the result of interpreting the object as an instance of 'Literal'.Returns the result of interpreting the object as an instance of 'Literal Enumeration Axiom'.caseMember
(Member object) Returns the result of interpreting the object as an instance of 'Member'.caseNamedInstance
(NamedInstance object) Returns the result of interpreting the object as an instance of 'Named Instance'.caseOntology
(Ontology object) Returns the result of interpreting the object as an instance of 'Ontology'.casePredicate
(Predicate object) Returns the result of interpreting the object as an instance of 'Predicate'.caseProperty
(Property object) Returns the result of interpreting the object as an instance of 'Property'.Returns the result of interpreting the object as an instance of 'Property Cardinality Restriction Axiom'.Returns the result of interpreting the object as an instance of 'Property Equivalence Axiom'.Returns the result of interpreting the object as an instance of 'Property Predicate'.Returns the result of interpreting the object as an instance of 'Property Range Restriction Axiom'.Returns the result of interpreting the object as an instance of 'Property Restriction Axiom'.Returns the result of interpreting the object as an instance of 'Property Self Restriction Axiom'.Returns the result of interpreting the object as an instance of 'Property Value Assertion'.Returns the result of interpreting the object as an instance of 'Property Value Restriction Axiom'.caseQuotedLiteral
(QuotedLiteral object) Returns the result of interpreting the object as an instance of 'Quoted Literal'.caseRelation
(Relation object) Returns the result of interpreting the object as an instance of 'Relation'.caseRelationBase
(RelationBase object) Returns the result of interpreting the object as an instance of 'Relation Base'.caseRelationEntity
(RelationEntity object) Returns the result of interpreting the object as an instance of 'Relation Entity'.Returns the result of interpreting the object as an instance of 'Relation Entity Predicate'.caseRelationInstance
(RelationInstance object) Returns the result of interpreting the object as an instance of 'Relation Instance'.caseReverseRelation
(ReverseRelation object) Returns the result of interpreting the object as an instance of 'Reverse Relation'.Returns the result of interpreting the object as an instance of 'Rule'.caseSameAsPredicate
(SameAsPredicate object) Returns the result of interpreting the object as an instance of 'Same As Predicate'.caseScalar
(Scalar object) Returns the result of interpreting the object as an instance of 'Scalar'.Returns the result of interpreting the object as an instance of 'Scalar Equivalence Axiom'.caseScalarProperty
(ScalarProperty object) Returns the result of interpreting the object as an instance of 'Scalar Property'.caseSemanticProperty
(SemanticProperty object) Returns the result of interpreting the object as an instance of 'Semantic Property'.Returns the result of interpreting the object as an instance of 'Specializable Property'.Returns the result of interpreting the object as an instance of 'Specializable Term'.Returns the result of interpreting the object as an instance of 'Specialization Axiom'.caseStatement
(Statement object) Returns the result of interpreting the object as an instance of 'Statement'.caseStructure
(Structure object) Returns the result of interpreting the object as an instance of 'Structure'.Returns the result of interpreting the object as an instance of 'Structured Property'.Returns the result of interpreting the object as an instance of 'Structure Instance'.Returns the result of interpreting the object as an instance of 'Term'.Returns the result of interpreting the object as an instance of 'Type'.caseTypeAssertion
(TypeAssertion object) Returns the result of interpreting the object as an instance of 'Type Assertion'.caseTypePredicate
(TypePredicate object) Returns the result of interpreting the object as an instance of 'Type Predicate'.caseUnaryPredicate
(UnaryPredicate object) Returns the result of interpreting the object as an instance of 'Unary Predicate'.Returns the result of interpreting the object as an instance of 'Unreified Relation'.caseVocabulary
(Vocabulary object) Returns the result of interpreting the object as an instance of 'Vocabulary'.caseVocabularyBox
(VocabularyBox object) Returns the result of interpreting the object as an instance of 'Vocabulary Box'.caseVocabularyBundle
(VocabularyBundle object) Returns the result of interpreting the object as an instance of 'Vocabulary Bundle'.caseVocabularyMember
(VocabularyMember object) Returns the result of interpreting the object as an instance of 'Vocabulary Member'.Returns the result of interpreting the object as an instance of 'Vocabulary Statement'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
modelPackage
The cached model package- Generated:
-
-
Constructor Details
-
OmlSwitch
public OmlSwitch()Creates an instance of the switch.- Generated:
-
-
Method Details
-
isSwitchFor
protected boolean isSwitchFor(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated:
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call. - Generated:
-
caseElement
Returns the result of interpreting the object as an instance of '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 'Element'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAnnotation
Returns the result of interpreting the object as an instance of 'Annotation'. 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 'Annotation'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseIdentifiedElement
Returns the result of interpreting the object as an instance of 'Identified 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 'Identified Element'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseImport
Returns the result of interpreting the object as an instance of 'Import'. 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 'Import'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseInstance
Returns the result of interpreting the object as an instance of 'Instance'. 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 'Instance'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAxiom
Returns the result of interpreting the object as an instance of 'Axiom'. 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 'Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAssertion
Returns the result of interpreting the object as an instance of 'Assertion'. 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 'Assertion'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePredicate
Returns the result of interpreting the object as an instance of 'Predicate'. 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 'Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseArgument
Returns the result of interpreting the object as an instance of 'Argument'. 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 'Argument'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseLiteral
Returns the result of interpreting the object as an instance of 'Literal'. 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 'Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseOntology
Returns the result of interpreting the object as an instance of 'Ontology'. 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 'Ontology'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseMember
Returns the result of interpreting the object as an instance of 'Member'. 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 'Member'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseVocabularyBox
Returns the result of interpreting the object as an instance of 'Vocabulary Box'. 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 'Vocabulary Box'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDescriptionBox
Returns the result of interpreting the object as an instance of 'Description Box'. 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 Box'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseVocabulary
Returns the result of interpreting the object as an instance of 'Vocabulary'. 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 'Vocabulary'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseVocabularyBundle
Returns the result of interpreting the object as an instance of 'Vocabulary Bundle'. 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 'Vocabulary Bundle'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDescription
Returns the result of interpreting the object as an instance of '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 'Description'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDescriptionBundle
Returns the result of interpreting the object as an instance of 'Description Bundle'. 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 Bundle'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStatement
Returns the result of interpreting the object as an instance of 'Statement'. 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 'Statement'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseVocabularyMember
Returns the result of interpreting the object as an instance of 'Vocabulary Member'. 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 'Vocabulary Member'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDescriptionMember
Returns the result of interpreting the object as an instance of 'Description Member'. 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 Member'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseVocabularyStatement
Returns the result of interpreting the object as an instance of 'Vocabulary Statement'. 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 'Vocabulary Statement'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDescriptionStatement
Returns the result of interpreting the object as an instance of 'Description Statement'. 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 Statement'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseTerm
Returns the result of interpreting the object as an instance of 'Term'. 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 'Term'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRule
Returns the result of interpreting the object as an instance of 'Rule'. 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 'Rule'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseBuiltIn
Returns the result of interpreting the object as an instance of 'Built In'. 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 'Built In'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSpecializableTerm
Returns the result of interpreting the object as an instance of 'Specializable Term'. 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 'Specializable Term'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseProperty
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)
- Generated:
-
caseType
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)
- Generated:
-
caseRelationBase
Returns the result of interpreting the object as an instance of 'Relation Base'. 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 'Relation Base'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSpecializableProperty
Returns the result of interpreting the object as an instance of 'Specializable 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 'Specializable Property'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseClassifier
Returns the result of interpreting the object as an instance of 'Classifier'. 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 'Classifier'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseScalar
Returns the result of interpreting the object as an instance of 'Scalar'. 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 'Scalar'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseEntity
Returns the result of interpreting the object as an instance of 'Entity'. 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 'Entity'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStructure
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)
- Generated:
-
caseAspect
Returns the result of interpreting the object as an instance of 'Aspect'. 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 'Aspect'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseConcept
Returns the result of interpreting the object as an instance of 'Concept'. 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 'Concept'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRelationEntity
Returns the result of interpreting the object as an instance of 'Relation Entity'. 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 'Relation Entity'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseAnnotationProperty
Returns the result of interpreting the object as an instance of 'Annotation 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 'Annotation Property'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSemanticProperty
Returns the result of interpreting the object as an instance of 'Semantic 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 'Semantic Property'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseScalarProperty
Returns the result of interpreting the object as an instance of 'Scalar 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 'Scalar Property'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStructuredProperty
Returns the result of interpreting the object as an instance of 'Structured 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 'Structured Property'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRelation
Returns the result of interpreting the object as an instance of 'Relation'. 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 'Relation'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseForwardRelation
Returns the result of interpreting the object as an instance of 'Forward Relation'. 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 'Forward Relation'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseReverseRelation
Returns the result of interpreting the object as an instance of 'Reverse Relation'. 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 'Reverse Relation'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseUnreifiedRelation
Returns the result of interpreting the object as an instance of 'Unreified Relation'. 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 'Unreified Relation'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseNamedInstance
Returns the result of interpreting the object as an instance of 'Named Instance'. 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 Instance'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseConceptInstance
Returns the result of interpreting the object as an instance of 'Concept Instance'. 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 'Concept Instance'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRelationInstance
Returns the result of interpreting the object as an instance of 'Relation Instance'. 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 'Relation Instance'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseStructureInstance
Returns the result of interpreting the object as an instance of 'Structure Instance'. 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 Instance'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseKeyAxiom
Returns the result of interpreting the object as an instance of 'Key Axiom'. 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 'Key Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSpecializationAxiom
Returns the result of interpreting the object as an instance of 'Specialization Axiom'. 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 'Specialization Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseInstanceEnumerationAxiom
Returns the result of interpreting the object as an instance of 'Instance Enumeration Axiom'. 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 'Instance Enumeration Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyRestrictionAxiom
Returns the result of interpreting the object as an instance of 'Property Restriction Axiom'. 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 Restriction Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseLiteralEnumerationAxiom
Returns the result of interpreting the object as an instance of 'Literal Enumeration Axiom'. 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 'Literal Enumeration Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseClassifierEquivalenceAxiom
Returns the result of interpreting the object as an instance of 'Classifier Equivalence Axiom'. 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 'Classifier Equivalence Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseScalarEquivalenceAxiom
Returns the result of interpreting the object as an instance of 'Scalar Equivalence Axiom'. 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 'Scalar Equivalence Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyEquivalenceAxiom
Returns the result of interpreting the object as an instance of 'Property Equivalence Axiom'. 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 Equivalence Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyRangeRestrictionAxiom
Returns the result of interpreting the object as an instance of 'Property Range Restriction Axiom'. 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 Range Restriction Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyCardinalityRestrictionAxiom
Returns the result of interpreting the object as an instance of 'Property Cardinality Restriction Axiom'. 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 Cardinality Restriction Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyValueRestrictionAxiom
Returns the result of interpreting the object as an instance of 'Property Value Restriction Axiom'. 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 Value Restriction Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertySelfRestrictionAxiom
Returns the result of interpreting the object as an instance of 'Property Self Restriction Axiom'. 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 Self Restriction Axiom'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseTypeAssertion
Returns the result of interpreting the object as an instance of 'Type Assertion'. 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 Assertion'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyValueAssertion
Returns the result of interpreting the object as an instance of 'Property Value Assertion'. 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 Value Assertion'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseUnaryPredicate
Returns the result of interpreting the object as an instance of 'Unary Predicate'. 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 'Unary Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseBinaryPredicate
Returns the result of interpreting the object as an instance of 'Binary Predicate'. 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 Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseBuiltInPredicate
Returns the result of interpreting the object as an instance of 'Built In Predicate'. 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 'Built In Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseTypePredicate
Returns the result of interpreting the object as an instance of 'Type Predicate'. 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 Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseRelationEntityPredicate
Returns the result of interpreting the object as an instance of 'Relation Entity Predicate'. 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 'Relation Entity Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
casePropertyPredicate
Returns the result of interpreting the object as an instance of 'Property Predicate'. 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 Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseSameAsPredicate
Returns the result of interpreting the object as an instance of 'Same As Predicate'. 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 'Same As Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDifferentFromPredicate
Returns the result of interpreting the object as an instance of 'Different From Predicate'. 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 'Different From Predicate'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseQuotedLiteral
Returns the result of interpreting the object as an instance of 'Quoted Literal'. 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 'Quoted Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseIntegerLiteral
Returns the result of interpreting the object as an instance of 'Integer Literal'. 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 'Integer Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDecimalLiteral
Returns the result of interpreting the object as an instance of 'Decimal Literal'. 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 'Decimal Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseDoubleLiteral
Returns the result of interpreting the object as an instance of 'Double Literal'. 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 'Double Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
caseBooleanLiteral
Returns the result of interpreting the object as an instance of 'Boolean Literal'. 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 Literal'.
- See Also:
-
doSwitch(EObject)
- Generated:
-
defaultCase
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.- Overrides:
defaultCase
in classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
-
Switch.doSwitch(org.eclipse.emf.ecore.EObject)
- Generated:
-