public static class CompleteOCLSplitter.Separator extends PivotSwitch<org.eclipse.emf.ecore.EObject>
Modifier and Type | Field and Description |
---|---|
protected MetaModelManager |
metaModelManager |
protected org.eclipse.emf.ecore.resource.Resource |
separateResource |
modelPackage
Constructor and Description |
---|
CompleteOCLSplitter.Separator(MetaModelManager metaModelManager,
org.eclipse.emf.ecore.resource.Resource separateResource) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
caseConstraint(Constraint object)
Returns the result of interpreting the object as an instance of 'Constraint'.
|
org.eclipse.emf.ecore.EObject |
caseOperation(Operation object)
Returns the result of interpreting the object as an instance of 'Operation'.
|
org.eclipse.emf.ecore.EObject |
casePackage(Package object)
Returns the result of interpreting the object as an instance of 'Package'.
|
org.eclipse.emf.ecore.EObject |
caseProperty(Property object)
Returns the result of interpreting the object as an instance of 'Property'.
|
org.eclipse.emf.ecore.EObject |
caseRoot(Root object)
Returns the result of interpreting the object as an instance of 'Root'.
|
org.eclipse.emf.ecore.EObject |
caseType(Type object)
Returns the result of interpreting the object as an instance of 'Type'.
|
protected <T extends NamedElement> |
cloneNamedElement(java.util.List<T> separateSiblings,
T object) |
NamedElement |
getElementByName(java.lang.Iterable<? extends org.eclipse.emf.ecore.EObject> elements,
java.lang.String name) |
protected <T extends NamedElement> |
getSeparate(T element) |
protected Package |
getSeparatePackage(Package element) |
caseAnnotation, caseAnyType, caseAssociationClass, caseAssociationClassCallExp, caseBagType, caseBehavior, caseBooleanLiteralExp, caseCallExp, caseCallOperationAction, caseClass, caseCollectionItem, caseCollectionLiteralExp, caseCollectionLiteralPart, caseCollectionRange, caseCollectionType, caseComment, caseConnectionPointReference, caseConstructorExp, caseConstructorPart, caseDataType, caseDetail, caseDynamicElement, caseDynamicProperty, caseDynamicType, caseElement, caseElementExtension, caseEnumeration, caseEnumerationLiteral, caseEnumLiteralExp, caseExpressionInOCL, caseFeature, caseFeatureCallExp, caseFinalState, caseIfExp, caseImport, caseIntegerLiteralExp, caseInvalidLiteralExp, caseInvalidType, caseIterateExp, caseIteration, caseIteratorExp, caseLambdaType, caseLetExp, caseLibrary, caseLiteralExp, caseLoopExp, caseMessageExp, caseMessageType, caseMetaclass, caseMorePivotable, caseNameable, caseNamedElement, caseNamespace, caseNavigationCallExp, caseNullLiteralExp, caseNumericLiteralExp, caseOCLExpression, caseOpaqueExpression, caseOperationCallExp, caseOperationTemplateParameter, caseOrderedSetType, casePackageableElement, caseParameter, caseParameterableElement, casePivotable, casePrecedence, casePrimitiveLiteralExp, casePrimitiveType, caseProfile, casePropertyCallExp, casePseudostate, caseRealLiteralExp, caseReferringElement, caseRegion, caseSelfType, caseSendSignalAction, caseSequenceType, caseSetType, caseSignal, caseState, caseStateExp, caseStateMachine, caseStereotype, caseStringLiteralExp, caseTemplateableElement, caseTemplateBinding, caseTemplateParameter, caseTemplateParameterSubstitution, caseTemplateParameterType, caseTemplateSignature, caseTransition, caseTrigger, caseTupleLiteralExp, caseTupleLiteralPart, caseTupleType, caseTypedElement, caseTypedMultiplicityElement, caseTypeExp, caseTypeTemplateParameter, caseUnlimitedNaturalLiteralExp, caseUnspecifiedType, caseUnspecifiedValueExp, caseValueSpecification, caseVariable, caseVariableDeclaration, caseVariableExp, caseVertex, caseVisitable, caseVisitor, caseVoidType, defaultCase, doSwitch, isSwitchFor
@NonNull protected final MetaModelManager metaModelManager
@NonNull protected final org.eclipse.emf.ecore.resource.Resource separateResource
public CompleteOCLSplitter.Separator(@NonNull MetaModelManager metaModelManager, @NonNull org.eclipse.emf.ecore.resource.Resource separateResource)
public org.eclipse.emf.ecore.EObject caseConstraint(Constraint object)
PivotSwitch
caseConstraint
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject caseOperation(Operation object)
PivotSwitch
caseOperation
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject casePackage(Package object)
PivotSwitch
casePackage
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject caseProperty(Property object)
PivotSwitch
caseProperty
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject caseRoot(Root object)
PivotSwitch
caseRoot
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject caseType(Type object)
PivotSwitch
caseType
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
protected <T extends NamedElement> T cloneNamedElement(java.util.List<T> separateSiblings, T object)
public NamedElement getElementByName(java.lang.Iterable<? extends org.eclipse.emf.ecore.EObject> elements, java.lang.String name)
protected <T extends NamedElement> T getSeparate(T element)