public static class CompleteOCLSplitter.Separator extends PivotSwitch<org.eclipse.emf.ecore.EObject>
Modifier and Type | Field and Description |
---|---|
protected PivotMetamodelManager |
metamodelManager |
protected org.eclipse.emf.ecore.resource.Resource |
separateResource |
modelPackage
Constructor and Description |
---|
Separator(PivotMetamodelManager metamodelManager,
org.eclipse.emf.ecore.resource.Resource separateResource) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
caseClass(Class object)
Returns the result of interpreting the object as an instance of 'Class'.
|
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 |
caseExpressionInOCL(ExpressionInOCL object)
Returns the result of interpreting the object as an instance of 'Expression In OCL'.
|
org.eclipse.emf.ecore.EObject |
caseModel(Model object)
Returns the result of interpreting the object as an instance of 'Model'.
|
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'.
|
protected <T extends NamedElement> |
cloneNamedElement(java.util.List<T> separateSiblings,
T object) |
org.eclipse.emf.ecore.EObject |
doSwitch(org.eclipse.emf.ecore.EObject eObject) |
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, caseCollectionItem, caseCollectionLiteralExp, caseCollectionLiteralPart, caseCollectionRange, caseCollectionType, caseComment, caseCompleteClass, caseCompleteEnvironment, caseCompleteModel, caseCompletePackage, caseConnectionPointReference, caseDataType, caseDetail, caseDynamicBehavior, caseDynamicElement, caseDynamicProperty, caseDynamicType, caseDynamicValueSpecification, caseElement, caseElementExtension, caseEnumeration, caseEnumerationLiteral, caseEnumLiteralExp, caseFeature, caseFeatureCallExp, caseFinalState, caseIfExp, caseImport, caseInstanceSpecification, caseIntegerLiteralExp, caseInvalidLiteralExp, caseInvalidType, caseIterateExp, caseIteration, caseIteratorExp, caseIteratorVariable, caseLambdaType, caseLanguageExpression, caseLetExp, caseLetVariable, caseLibrary, caseLiteralExp, caseLoopExp, caseMapLiteralExp, caseMapLiteralPart, caseMapType, caseMessageExp, caseMessageType, caseMorePivotable, caseNameable, caseNamedElement, caseNamespace, caseNavigationCallExp, caseNullLiteralExp, caseNumericLiteralExp, caseOCLExpression, caseOperationCallExp, caseOppositePropertyCallExp, caseOrderedSetType, caseOrphanCompletePackage, caseParameter, caseParameterVariable, casePivotable, casePrecedence, casePrimitiveCompletePackage, casePrimitiveLiteralExp, casePrimitiveType, caseProfile, caseProfileApplication, casePropertyCallExp, casePseudostate, caseRealLiteralExp, caseReferringElement, caseRegion, caseResultVariable, caseSelfType, caseSendSignalAction, caseSequenceType, caseSetType, caseShadowExp, caseShadowPart, caseSignal, caseSlot, caseStandardLibrary, caseState, caseStateExp, caseStateMachine, caseStereotype, caseStereotypeExtender, caseStringLiteralExp, caseTemplateableElement, caseTemplateBinding, caseTemplateParameter, caseTemplateParameterSubstitution, caseTemplateSignature, caseTransition, caseTrigger, caseTupleLiteralExp, caseTupleLiteralPart, caseTupleType, caseType, caseTypedElement, caseTypeExp, caseUnlimitedNaturalLiteralExp, caseUnspecifiedValueExp, caseValueSpecification, caseVariable, caseVariableDeclaration, caseVariableExp, caseVertex, caseVisitable, caseVoidType, caseWildcardType, defaultCase, doSwitch, isSwitchFor
@NonNull protected final PivotMetamodelManager metamodelManager
@NonNull protected final org.eclipse.emf.ecore.resource.Resource separateResource
public Separator(@NonNull PivotMetamodelManager metamodelManager, @NonNull org.eclipse.emf.ecore.resource.Resource separateResource)
public org.eclipse.emf.ecore.EObject caseClass(Class object)
PivotSwitch
caseClass
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
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 caseExpressionInOCL(ExpressionInOCL object)
PivotSwitch
caseExpressionInOCL
in class PivotSwitch<org.eclipse.emf.ecore.EObject>
object
- the target of the switch.doSwitch(EObject)
public org.eclipse.emf.ecore.EObject caseModel(Model object)
PivotSwitch
caseModel
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)
protected <T extends NamedElement> T cloneNamedElement(java.util.List<T> separateSiblings, T object)
@NonNull public org.eclipse.emf.ecore.EObject doSwitch(org.eclipse.emf.ecore.EObject eObject)
doSwitch
in class org.eclipse.emf.ecore.util.Switch<org.eclipse.emf.ecore.EObject>
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)