Examples of Field


Examples of AGEvalSwipl.OpenCLFieldsHelper.Field

        throw new InvalidGrammarException("Cannot access $- attrib of a non-multi child: " + lhs);
      }
      // We're just working with regular variables
    } else {
      if (isParent) {
        Field fld = fields.findClField(cls, cleanProp);
        if (fld == null) {
          throw new InvalidGrammarException("Undeclared field identifier " + cleanProp + " in " + lhs);
        }
        return fields.findClField(cls, cleanProp).getClRhsName() + "(index)";
      } else if (ast.extendedClasses.get(cls).multiChildren.containsKey(child)) {
View Full Code Here

Examples of alt.jiapi.file.Field

        // Check, that the field don't exist
        List fields = clazz.getFields();
        Iterator i = fields.iterator();
        while(i.hasNext()) {
            Field field = (Field)i.next();
            if (field.getName().equals(name)) {
                throw new FieldExistsException(new JiapiField(field));
            }
        }

        // Add Synthetic attribute for the field
        List attrs = new LinkedList();
        attrs.add(new SyntheticAttribute(cp));

        // Create field, and add it to ClassFile
        Field f = new Field(cp, modifiers, name,
                            TypeHelper.typeToDescriptor(type), attrs);
        fields.add(f);

        return new JiapiField(f);
    }
View Full Code Here

Examples of anvil.codec.Field

        "register", "(Ljava/lang/String;)I");
      BindingEnumeration e = _symbols.keysAndElements();
      while(e.hasMoreElements()) {
        int index = ((Integer)e.nextKey()).intValue();
        String name = (String)e.nextElement();
        Field field = clazz.createField("r_"+name, "I", ACC_PUBLIC|ACC_STATIC|ACC_FINAL);
        code.astring(name);
        code.invokestatic(register);
        code.putstatic(field);
      }
    }
View Full Code Here

Examples of apigen.adt.Field

  }

  private void genSetFields(Type type) {
    Iterator<Field> fields = type.fieldIterator();
    while (fields.hasNext()) {
      Field field = fields.next();
      genSetField(type, field);
    }
  }
View Full Code Here

Examples of br.com.caelum.seleniumdsl.Field

  @Test
  public void fillFormField() {
    String testContent = "test content";
    String idField = "textinput";
    Field field = form.field(idField);
    field.type(testContent);
    String value = getSelenium().getValue(idField);
    Assert.assertEquals(value, testContent);
    Assert.assertEquals(value, field.content());
    Assert.assertTrue(field.contains(testContent));
  }
View Full Code Here

Examples of br.gov.frameworkdemoiselle.vaadin.annotation.Field

 
 
  @Override
  public String getColumnHeader(Object propertyId) {   
    try {
      Field field = beanClass.getDeclaredField((String) propertyId).getAnnotation(Field.class);
      if(field!=null && !"".equals(field.label())){
        return resolveProperties(field.label());
      }     
    } catch (Exception e) {
      e.printStackTrace();
    }    
   
View Full Code Here

Examples of ca.uhn.hl7v2.conf.spec.message.Field

    for (int i = 0; i < children.getLength(); i++) {
      Node n = children.item(i);
      if (n.getNodeType() == Node.ELEMENT_NODE) {
        Element child = (Element) n;
        if (child.getNodeName().equalsIgnoreCase("Field")) {
          Field field = parseFieldProfile(child);
          segment.setField(childIndex++, field);
        }
      }
    }
View Full Code Here

Examples of ch.ralscha.extdirectspring.bean.Field

      MetaData metaData = new MetaData();

      metaData.setPagingParameter(0, 50);
      metaData.setSortInfo("name", SortDirection.ASCENDING);

      Field field = new Field("id");
      field.setType(DataType.INTEGER);
      field.addCustomProperty("header", "ID");
      field.addCustomProperty("width", 20);
      field.addCustomProperty("sortable", Boolean.TRUE);
      field.addCustomProperty("resizable", Boolean.TRUE);
      field.addCustomProperty("hideable", Boolean.FALSE);
      metaData.addField(field);

      field = new Field("name");
      field.setType(DataType.STRING);
      field.addCustomProperty("header", "Name");
      field.addCustomProperty("width", 70);
      field.addCustomProperty("sortable", Boolean.TRUE);
      field.addCustomProperty("resizable", Boolean.TRUE);
      field.addCustomProperty("hideable", Boolean.FALSE);
      metaData.addField(field);

      field = new Field("admin");
      field.setType(DataType.BOOLEAN);
      field.addCustomProperty("header", "Administrator");
      field.addCustomProperty("width", 30);
      field.addCustomProperty("sortable", Boolean.TRUE);
      field.addCustomProperty("resizable", Boolean.TRUE);
      field.addCustomProperty("hideable", Boolean.TRUE);
      metaData.addField(field);

      field = new Field("salary");
      field.setType(DataType.FLOAT);
      field.addCustomProperty("header", "Salary");
      field.addCustomProperty("width", 50);
      field.addCustomProperty("sortable", Boolean.FALSE);
      field.addCustomProperty("resizable", Boolean.TRUE);
      field.addCustomProperty("hideable", Boolean.TRUE);
      metaData.addField(field);

      response.setMetaData(metaData);
    }
View Full Code Here

Examples of chunmap.data.feature.Field

    ResultSetMetaData rm= resultSet.getMetaData();
    int n=rm.getColumnCount();
   
    Field[] fields=new Field[n];
    for(int i=0;i<n;i++){
      Field f=new Field(rm.getColumnName(i+1),i,rm.getColumnType(i+1));
      fields[i]=f;
    }
    FeatureSchama fs=new FeatureSchama(fields,-1,-1);
    return fs;
  }
View Full Code Here

Examples of civquest.map.Field

        for(int y = 0;y < height;y++){

            for(int x = 0; x < width;x++)
    if(mapData.isArrayCoordOnMap(x,y))
        {
                    Field f = mapData.getField(x,y);
                    /*                    if(f.isNormalSea() || f.isShallowSea())
                        f.setLayer(Field.LAYER_GROUND, "Ocean");
                    else
                        if (f.getHeightLevel()>2)
                            f.setLayer(Field.LAYER_GROUND, "Mountain");
                    else
                        f.setLayer(Field.LAYER_GROUND, "Grass");
                    */                   
        if(f.isSea())
                        f.setValues(ocean,Field.LAYER_GROUND,mapType);                   
                    else                                           
                        f.setValues(grass,Field.LAYER_GROUND,mapType);                   
                   
                    //      f.setLayer(Field.LAYER_GROUND,grass.getRandomTile(mapType,f.getHeightLevel()-1));
                   
        /*
         if(f.isNormalSea() || f.isShallowSea())
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.