|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.util.Switch<T> org.eclipse.ocl.examples.pivot.util.PivotSwitch<org.eclipse.emf.ecore.EObject> org.eclipse.ocl.examples.xtext.completeocl.pivot2cs.CompleteOCLSplitter.Separator
public static class CompleteOCLSplitter.Separator
Field Summary | |
---|---|
protected MetaModelManager |
metaModelManager
|
protected org.eclipse.emf.ecore.resource.Resource |
separateResource
|
Fields inherited from class org.eclipse.ocl.examples.pivot.util.PivotSwitch |
---|
modelPackage |
Constructor Summary | |
---|---|
CompleteOCLSplitter.Separator(MetaModelManager metaModelManager,
org.eclipse.emf.ecore.resource.Resource separateResource)
|
Method Summary | ||
---|---|---|
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
|
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
|
getSeparate(T element)
|
|
protected Package |
getSeparatePackage(Package element)
|
Methods inherited from class org.eclipse.emf.ecore.util.Switch |
---|
doSwitch, doSwitch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NonNull protected final MetaModelManager metaModelManager
@NonNull protected final org.eclipse.emf.ecore.resource.Resource separateResource
Constructor Detail |
---|
public CompleteOCLSplitter.Separator(@NonNull MetaModelManager metaModelManager, @NonNull org.eclipse.emf.ecore.resource.Resource separateResource)
Method Detail |
---|
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)
protected Package getSeparatePackage(Package element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |