All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxma.dsl.dom.DomDslPostProcessor Maven / Gradle / Ivy

package org.openxma.dsl.dom;

import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EPackage;

/**
 * Java based extension for the dom dsl ecore post processor.
 */
public class DomDslPostProcessor {

    public static EClassifier getType(EPackage ePackage) {
        return ((EClass) ePackage.getEClassifier("Attribute")).getEStructuralFeature("type").getEType().getEPackage()
                .getEClassifier("Type");
    }

    public static EClassifier getAttributePropertyType(EPackage ePackage) {
        return ePackage.getEClassifier("AttributeProperty");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy