Package pt.ist.fenixframework.dml

Examples of pt.ist.fenixframework.dml.DomainModel


    final JsonObject jsonObject = new JsonObject();

    public FenixDomainModel() {
        final JsonArray classes = new JsonArray();
        final JsonArray relations = new JsonArray();
        final DomainModel domainModel = FenixFramework.getDomainModel();
        for (final DomainClass domainClass : domainModel.getDomainClasses()) {
            addDomainClass(classes, domainClass);
        }
        for (final DomainRelation domainRelation : domainModel.getDomainRelations()) {
            addDomainRelation(relations, domainRelation);
        }
        jsonObject.add("classes", classes);
        jsonObject.add("relations", relations);
    }
View Full Code Here

TOP

Related Classes of pt.ist.fenixframework.dml.DomainModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.