Package org.structr.schema.compiler

Examples of org.structr.schema.compiler.NodeExtender.addClass()


          SchemaService.ensureBuiltinTypesExist();

          // collect node classes
          for (final SchemaNode schemaNode : StructrApp.getInstance().nodeQuery(SchemaNode.class).getAsList()) {

            nodeExtender.addClass(schemaNode.getClassName(), schemaNode.getSource(errorBuffer));

            final String auxSource = schemaNode.getAuxiliarySource();
            if (auxSource != null) {

              nodeExtender.addClass("_" + schemaNode.getClassName() + "Helper", auxSource);
View Full Code Here


            nodeExtender.addClass(schemaNode.getClassName(), schemaNode.getSource(errorBuffer));

            final String auxSource = schemaNode.getAuxiliarySource();
            if (auxSource != null) {

              nodeExtender.addClass("_" + schemaNode.getClassName() + "Helper", auxSource);
            }

            dynamicViews.addAll(schemaNode.getViews());
          }
View Full Code Here

          }

          // collect relationship classes
          for (final SchemaRelationship schemaRelationship : StructrApp.getInstance().relationshipQuery(SchemaRelationship.class).getAsList()) {

            nodeExtender.addClass(schemaRelationship.getClassName(), schemaRelationship.getSource(errorBuffer));

            final String auxSource = schemaRelationship.getAuxiliarySource();
            if (auxSource != null) {

              nodeExtender.addClass("_" + schemaRelationship.getClassName() + "Helper", auxSource);
View Full Code Here

            nodeExtender.addClass(schemaRelationship.getClassName(), schemaRelationship.getSource(errorBuffer));

            final String auxSource = schemaRelationship.getAuxiliarySource();
            if (auxSource != null) {

              nodeExtender.addClass("_" + schemaRelationship.getClassName() + "Helper", auxSource);
            }

            dynamicViews.addAll(schemaRelationship.getViews());
          }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.