public class Ecore2PivotDeclarationSwitch
extends org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
Modifier and Type | Field and Description |
---|---|
protected AbstractEcore2Pivot |
converter |
protected MetaModelManager |
metaModelManager |
Constructor and Description |
---|
Ecore2PivotDeclarationSwitch(AbstractEcore2Pivot converter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eObject) |
java.lang.Object |
caseEAttribute(org.eclipse.emf.ecore.EAttribute eObject) |
java.lang.Object |
caseEClass(org.eclipse.emf.ecore.EClass eObject) |
java.lang.Object |
caseEDataType(org.eclipse.emf.ecore.EDataType eObject) |
java.lang.Object |
caseEEnum(org.eclipse.emf.ecore.EEnum eObject) |
java.lang.Object |
caseEEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral) |
java.lang.Object |
caseEGenericType(org.eclipse.emf.ecore.EGenericType eObject) |
java.lang.Object |
caseEOperation(org.eclipse.emf.ecore.EOperation eObject) |
java.lang.Object |
caseEPackage(org.eclipse.emf.ecore.EPackage eObject) |
java.lang.Object |
caseEParameter(org.eclipse.emf.ecore.EParameter eObject) |
java.lang.Object |
caseEReference(org.eclipse.emf.ecore.EReference eObject) |
java.lang.Object |
caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eObject) |
protected void |
copyAnnotatedElement(NamedElement pivotElement,
org.eclipse.emf.ecore.EModelElement eModelElement,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
Convert all eModelElement EAnnotations to pivotElement Annotations except specifically excludedAnnotations.
|
protected void |
copyAnnotationComment(Constraint pivotElement,
org.eclipse.emf.ecore.EAnnotation eModelElement,
java.lang.String key)
Convert all eModelElement EAnnotations to pivotElement Annotations except specifically excludedAnnotations.
|
protected void |
copyClassifier(Class pivotElement,
org.eclipse.emf.ecore.EClassifier eClassifier) |
protected void |
copyDataTypeOrEnum(DataType pivotElement,
org.eclipse.emf.ecore.EDataType eDataType) |
protected void |
copyNamedElement(NamedElement pivotElement,
org.eclipse.emf.ecore.ENamedElement eNamedElement) |
protected void |
copyStructuralFeature(Property pivotElement,
org.eclipse.emf.ecore.EStructuralFeature eObject,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
protected void |
copyTemplateSignature(TemplateableElement pivotElement,
java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters) |
protected void |
copyTypedMultiplicityElement(TypedMultiplicityElement pivotElement,
org.eclipse.emf.ecore.ETypedElement eTypedElement,
java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations) |
Element |
defaultCase(org.eclipse.emf.ecore.EObject object) |
java.lang.Object |
doInPackageSwitch(org.eclipse.emf.ecore.EObject eObject) |
<T extends Element> |
doSwitchAll(java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects) |
<T extends Element> |
doSwitchAll(java.util.List<T> pivotObjects,
java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects) |
static boolean |
hasDocumentationKey(java.lang.String source,
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details) |
static boolean |
hasImportKey(java.lang.String source,
org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details) |
static boolean |
isDocumentationKey(java.lang.String source,
java.lang.String key) |
protected java.util.List<org.eclipse.emf.ecore.EAnnotation> |
refreshTypeConstraints(Class pivotElement,
org.eclipse.emf.ecore.EClassifier eClassifier) |
protected final AbstractEcore2Pivot converter
protected final MetaModelManager metaModelManager
public Ecore2PivotDeclarationSwitch(AbstractEcore2Pivot converter)
public static boolean hasDocumentationKey(@Nullable java.lang.String source, @NonNull org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details)
public static boolean hasImportKey(@Nullable java.lang.String source, @NonNull org.eclipse.emf.common.util.EMap<java.lang.String,java.lang.String> details)
public static boolean isDocumentationKey(@Nullable java.lang.String source, @Nullable java.lang.String key)
public java.lang.Object caseEAnnotation(org.eclipse.emf.ecore.EAnnotation eObject)
caseEAnnotation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEAttribute(org.eclipse.emf.ecore.EAttribute eObject)
caseEAttribute
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEClass(org.eclipse.emf.ecore.EClass eObject)
caseEClass
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEDataType(org.eclipse.emf.ecore.EDataType eObject)
caseEDataType
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEEnum(org.eclipse.emf.ecore.EEnum eObject)
caseEEnum
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral eEnumLiteral)
caseEEnumLiteral
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEGenericType(org.eclipse.emf.ecore.EGenericType eObject)
caseEGenericType
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEOperation(org.eclipse.emf.ecore.EOperation eObject)
caseEOperation
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEPackage(org.eclipse.emf.ecore.EPackage eObject)
caseEPackage
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEParameter(org.eclipse.emf.ecore.EParameter eObject)
caseEParameter
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseEReference(org.eclipse.emf.ecore.EReference eObject)
caseEReference
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object caseETypeParameter(org.eclipse.emf.ecore.ETypeParameter eObject)
caseETypeParameter
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
protected void copyClassifier(@NonNull Class pivotElement, @NonNull org.eclipse.emf.ecore.EClassifier eClassifier)
protected void copyDataTypeOrEnum(@NonNull DataType pivotElement, @NonNull org.eclipse.emf.ecore.EDataType eDataType)
protected void copyTemplateSignature(@NonNull TemplateableElement pivotElement, @NonNull java.util.List<org.eclipse.emf.ecore.ETypeParameter> eTypeParameters)
protected void copyAnnotatedElement(@NonNull NamedElement pivotElement, @NonNull org.eclipse.emf.ecore.EModelElement eModelElement, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
protected void copyAnnotationComment(@NonNull Constraint pivotElement, @NonNull org.eclipse.emf.ecore.EAnnotation eModelElement, @NonNull java.lang.String key)
protected void copyNamedElement(@NonNull NamedElement pivotElement, @NonNull org.eclipse.emf.ecore.ENamedElement eNamedElement)
protected void copyStructuralFeature(@NonNull Property pivotElement, @NonNull org.eclipse.emf.ecore.EStructuralFeature eObject, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
protected void copyTypedMultiplicityElement(@NonNull TypedMultiplicityElement pivotElement, @NonNull org.eclipse.emf.ecore.ETypedElement eTypedElement, java.util.List<org.eclipse.emf.ecore.EAnnotation> excludedAnnotations)
public Element defaultCase(org.eclipse.emf.ecore.EObject object)
defaultCase
in class org.eclipse.emf.ecore.util.EcoreSwitch<java.lang.Object>
public java.lang.Object doInPackageSwitch(org.eclipse.emf.ecore.EObject eObject)
public <T extends Element> void doSwitchAll(java.util.List<T> pivotObjects, java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects)
public <T extends Element> void doSwitchAll(java.util.List<? extends org.eclipse.emf.ecore.EObject> eObjects)
protected java.util.List<org.eclipse.emf.ecore.EAnnotation> refreshTypeConstraints(@NonNull Class pivotElement, @NonNull org.eclipse.emf.ecore.EClassifier eClassifier)