Examples of Field


Examples of de.pdf_scrutinizer.API.Field

     * Symantec: The rise of PDF malware, p. 10
     */
    public Field getField(String str) {
        Reflect.getMethodName();

        return new Field();
    }
View Full Code Here

Examples of dk.brics.string.intermediate.Field

        for (Statement ds : rd.getReachingDefs(s, var)) {
            use.addDefUse(map.get(ds).get(var));
        }
        // if this is a field variable, link from the field's node
        for (Variable alias : aa.getInfoBefore(s).getAliasesForInclusive(var, false)) {
            Field field = alias.getField();
            if (field == null)
                continue;
           
            use.addDefUse(fieldNodes.get(field));
        }
View Full Code Here

Examples of edu.mit.csail.sdg.alloy4compiler.ast.Sig.Field

  private TypeDeclaration getClass(String classId) {
    TypeDeclaration result = ast.newTypeDeclaration();

    Sig classSig = getSig("Class");
    SafeList<Field> classFields = classSig.getFields();
    Field classIdRelations = getField("id", classFields);
    Map<String, List<String>> classIdRel = getRelations(classIdRelations);

    Field classExtendRel = getField("extend", classFields);
    Map<String, List<String>> extendRel = getRelations(classExtendRel);

    // id
    String className = classIdRel.get(classId).get(0);
    result.setName(ast.newSimpleName(className));
View Full Code Here

Examples of etch.bindings.java.msg.Field

   * @param type
   * @param class2type
   */
  public static void init( Type type, Class2TypeMap class2type )
    {
    Field field = type.getField( FIELD_NAME );
   
    // quick lookup to serialize this class.
    class2type.put( HashMap.class, type );
   
    // type for arrays.
View Full Code Here

Examples of framework.beans.FindEntity.Field

   
    @Override
  @SuppressWarnings("deprecation")
    public void clearDirectory() throws ClipsServerException{
        Field[] f = {
            new Field("title", "", Field.OPERATOR_NOT_NULL)
        };
        deleteEntityList(IntelWriter.class, f);
    }
View Full Code Here

Examples of hu.sztaki.ilab.longneck.Field

        return false;
    }

    @Override
    public Object getValue(String fieldName) throws IllegalArgumentException {
      Field f = record.get(DatabaseUtils.revertReplacedBindVariableDashes(fieldName));
      if (f == null) {
        return null;
      }
      return f.getValue();
    }
View Full Code Here

Examples of info.jtrac.domain.Field

                if (listItem.getIndex() % 2 == 0) {
                    listItem.add(sam);
                }
               
                Field.Name fieldName = (Field.Name) listItem.getModelObject();
                Field field = fields.get(fieldName);
                listItem.add(new Label("label", field.getLabel()));
                listItem.add(new Label("value", item.getCustomValue(fieldName)));
            }
        });
       
        final List<Field> editable = item.getSpace().getMetadata().getEditableFields();
       
        add(new ListView("labels", editable) {
            /* (non-Javadoc)
             * @see org.apache.wicket.markup.html.list.ListView#populateItem(org.apache.wicket.markup.html.list.ListItem)
             */
            protected void populateItem(ListItem listItem) {
                Field field = (Field) listItem.getModelObject();
                listItem.add(new Label("label", field.getLabel()));
            }
        });
       
        if (item.getHistory() != null) {
            List<History> history = new ArrayList(item.getHistory());
            add(new ListView("history", history) {
                /* (non-Javadoc)
                 * @see org.apache.wicket.markup.html.list.ListView#populateItem(org.apache.wicket.markup.html.list.ListItem)
                 */
                protected void populateItem(ListItem listItem) {
                    if (listItem.getIndex() % 2 != 0) {
                        listItem.add(sam);
                    }
                   
                    final History h = (History) listItem.getModelObject();
                    listItem.add(new Label("loggedBy", new PropertyModel(h, "loggedBy.name")));
                    listItem.add(new Label("status", new PropertyModel(h, "statusValue")));
                    listItem.add(new Label("assignedTo", new PropertyModel(h, "assignedTo.name")));
                   
                    WebMarkupContainer comment = new WebMarkupContainer("comment");
                    comment.add(new AttachmentLinkPanel("attachment", h.getAttachment()));
                    comment.add(new Label("comment", ItemUtils.fixWhiteSpace(h.getComment())).setEscapeModelStrings(false));
                    listItem.add(comment);
                   
                    listItem.add(new Label("timeStamp", DateUtils.formatTimeStamp(h.getTimeStamp())));
                    listItem.add(new ListView("fields", editable) {
                        /* (non-Javadoc)
                         * @see org.apache.wicket.markup.html.list.ListView#populateItem(org.apache.wicket.markup.html.list.ListItem)
                         */
                        protected void populateItem(ListItem listItem) {
                            Field field = (Field) listItem.getModelObject();
                            listItem.add(new Label("field", h.getCustomValue(field.getName())));
                        }
                    });
                }
            });
        }
View Full Code Here

Examples of it.eng.spagobi.engines.qbe.query.Field

  private void decorateExtractedFields(List extractedFields) {
    List selectedFields = getEngineInstance().getActiveQuery().getSelectFields(true);
    Iterator selectedFieldsIterator = selectedFields.iterator();
    Iterator extractedFieldsIterator =  extractedFields.iterator();
    while( extractedFieldsIterator.hasNext() ) {
      Field exctractedField = (Field)extractedFieldsIterator.next();
      ISelectField selectedField = (ISelectField)selectedFieldsIterator.next();
      exctractedField.setAlias( selectedField.getAlias() );
      exctractedField.setVisible( selectedField.isVisible() );
      if(selectedField.isDataMartField())
        exctractedField.setPattern( ((DataMartSelectField)selectedField).getPattern() );
    }
  }
View Full Code Here

Examples of it.eng.spagobi.tools.dataset.common.datastore.Field

        int resultNumber = 0;
        while ((recCount < maxRecToParse) && rs.next()) {
          IRecord record = new Record(dataStore);
          for(columnIndex = 1; columnIndex <= columnCount; columnIndex++) {
            Object columnValue = rs.getObject(columnIndex);
            IField field = new Field( columnValue );
          if(columnValue != null) {
            dataStoreMeta.getFieldMeta(columnIndex-1).setType( columnValue.getClass() );
          }
          record.appendField( field );
          }
View Full Code Here

Examples of it.unibz.instasearch.indexing.Field

      prevProposal = curText.substring(colIdx+1, commaIdx+1);
      colIdx = commaIdx;
    }
   
    String prefix = curText.substring(colIdx+1).toLowerCase(Locale.ENGLISH); // filtering text
    Field field = Field.getByName(fieldName);
   
    if( field == null )
      return EMPTY_PROPOSALS;
   
    proposalNames = getFieldProposals(field, prefix);
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.