Examples of addField()


Examples of net.sf.jasperreports.engine.design.JasperDesign.addField()

    //Fields
    JRDesignField field = new JRDesignField();
    field.setName("Id");
    field.setValueClass(java.lang.Integer.class);
    jasperDesign.addField(field);

    field = new JRDesignField();
    field.setName("FirstName");
    field.setValueClass(java.lang.String.class);
    jasperDesign.addField(field);
View Full Code Here

Examples of net.sphene.goim.rcp.xmpp.smackextensions.SearchIQ.addField()

      iq.setType(IQ.Type.SET);
//      iq.setType(IQ.Type.GET );
      iq.setFrom(account.xmpp.getConnection().getUser());
      iq.setTo(searchservice);
         
      iq.addField("first");
      iq.setField("first", txtFirstName.getText());
      iq.addField("last");
      iq.setField("last", txtLastName.getText());
      iq.addField("nick");
      iq.setField("nick", txtNickName.getText());
View Full Code Here

Examples of nu.fw.jeti.jabber.elements.XDataBuilder.addField()

      {
        var =(String)((Object[])element)[0];
        value =(String)((Object[])element)[1];
        if(value != null)
        {
          builder.addField(new XDataField(var,value));
        }
      }
      else
      {
        JComponent component = (JComponent)element;
View Full Code Here

Examples of objot.bytecode.Constants.addField()

    Field f = new Field(cs);
    f.setModifier(Mod2.PUBLIC | Mod2.STATIC);
    f.setNameCi(cs.addUcs(DATAS_NAME));
    f.setDescCi(cs.addUcs(Class2.descript(Object[].class)));
    y.getFields().addField(f);
    int datasCi = cs.addField(y.head.getClassCi(), cs.addNameDesc(f.getNameCi(),
      f.getDescCi()));

    Code ato = y.getProcs().removeProc(y.getProcs().searchProc(CTOR_NAME, null)).getCode();
    for (Constructor<?> t: ts)
      new WeaveProc(target, y, ato).ctor(t);
View Full Code Here

Examples of oracle.toplink.essentials.tools.schemaframework.TableDefinition.addField()

                   fieldDef = new FieldDefinition(field.getName(), field.getColumnDefinition());
                }
                if(pkFields.contains(field) && shouldTempTableSpecifyPrimaryKeys()) {
                    fieldDef.setIsPrimaryKey(true);
                }
                tableDef.addField(fieldDef);
            }           
            tableDef.setCreationPrefix(getCreateTempTableSqlPrefix());
            tableDef.setName(getTempTableForTable(table).getQualifiedName());
            tableDef.setCreationSuffix(getCreateTempTableSqlSuffix());
            tableDef.buildCreationWriter(session, writer);
View Full Code Here

Examples of org.ajax4jsf.builder.model.JavaClass.addField()

      javaClass.setSuperClass(UIComponentBase.class);
    }
   
    javaClass.addModifier(JavaModifier.PUBLIC);
   
    javaClass.addField(getComponentFamily(componentBean));
    javaClass.addField(getComponentType(componentBean));
   
    javaClass.addMethod(getConstructor(componentBean, javaClass));
   
    Collection<PropertyBean> properties = componentBean.getProperties();
View Full Code Here

Examples of org.allspice.bytecode.ClassDef.addField()

public class TestField extends MyTestCase {
  public ClassDef defadd(String type) {
    ClassDef cd = makeClass() ;
   
    FieldDef fd = new FieldDef(Scope.PUBLIC,new TypeName(type),"foo") ;
    cd = cd.addField(fd) ;
    {
      Var x = new Var(1,new TypeName(type)) ;
      MethodDef md = new MethodDef(TypeName.VOID,"setFoo",x) ;
      md = md.addInstructions(
          new Load(new Var(0,new TypeName("TestClass"))),
View Full Code Here

Examples of org.apache.bcel.generic.ClassGen.addField()

        //
        Class handlerClass = handlerMethodRef.getDeclaringClass();
        FieldGen handlerFieldGen = new FieldGen(Constants.ACC_PRIVATE
                | Constants.ACC_FINAL, translate(handlerClass), Util
                .handlerFieldName(), cp);
        newStubClass.addField(handlerFieldGen.getField());

        //
        // Construct the method that gets the stub handler.
        //
        generateHandlerGetter(newStubClass, handlerFieldGen);
View Full Code Here

Examples of org.apache.commons.csv.writer.CSVConfig.addField()

            Set set = map.keySet();
            for (Object value : set) {
                if (value != null) {
                    String text = value.toString();
                    CSVField field = new CSVField(text);
                    conf.addField(field);
                }
            }
            CSVWriter writer = new CSVWriter(conf);
            writer.setWriter(out);
            writer.writeRecord(map);
View Full Code Here

Examples of org.apache.commons.modeler.AttributeInfo.addField()

            if (descriptorN != null) {
                Node firstFieldN = DomUtil.getChild(descriptorN, "field");
                for (Node fieldN = firstFieldN; fieldN != null; fieldN = DomUtil.getNext(fieldN)) {
                    FieldInfo fi = new FieldInfo();
                    DomUtil.setAttributes(fi, fieldN);
                    ai.addField(fi);
                }
            }

            // Add this info to our managed bean info
            managed.addAttribute(ai);
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.