Package org.objectweb.speedo.metadata

Examples of org.objectweb.speedo.metadata.SpeedoField.addColumn()


            SpeedoColumn sc = new SpeedoColumn();
            sc.name = n.getNodeValue();
            if (st != null) {
                sc.table = st;
            }
            f.addColumn(sc);
            logger.log(BasicLevel.DEBUG, "specify column " + sc.name
                    + " to the field " + f.name + ": " + f.columns);
        }
        if (debug) {
            logger.log(BasicLevel.DEBUG, "New field: "
View Full Code Here


          if (f.columns == null || f.columns.length == 0) {
              //create the new meta object for the column description
              col = new SpeedoColumn();
              // column definition of the value is the hold by SpeedoField meta
              // object.
              f.addColumn(col);
              //Table will be defined later
          } else {
              col = f.columns[0];
          }
            col.name = n.getNodeValue();
View Full Code Here

            sjc.column = c;
            j.columns.add(sjc);
            logger.log(BasicLevel.DEBUG, "add column " + c.name + " to a join");
        } else if (mo instanceof SpeedoField) { //class.field.column
            SpeedoField f = (SpeedoField) mo;
            f.addColumn(c);
            logger.log(BasicLevel.DEBUG, "add column " + c.name + " to the field " + f.name);
        } else if (mo instanceof SpeedoMap) {
            SpeedoMap m = (SpeedoMap) mo;
            String parentNodeName = node.getParentNode().getNodeName();
          if ("key".equals(parentNodeName)) {
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.