Examples of field()


Examples of org.lilyproject.repository.api.RecordBuilder.field()

        builder.recordType(new QName(ns, name))
                .id(id);

        for (int i = 1; i <= 4; i++) {
            builder.field(new QName(NS2, "match" + i), id + "_" + "match" + i + "_orig");
            builder.field(new QName(NS, "nvmatch" + i), id + "_" + "nvmatch" + i + "_orig");
        }
        builder.field(previewTag.getName(), new Long(1));

        builder.create();
View Full Code Here

Examples of org.lilyproject.repository.api.RecordTypeBuilder.field()

            fail("Exception expected since name of recordType is not specified");
        } catch (Exception expected) {
        }
        QName rtName = new QName("builderNS", "builderName");
        builder.name(rtName);
        builder.field(fieldType1.getId(), false);
        builder.field(fieldType2.getId(), true);
        RecordType recordType = builder.create();

        RecordType readRecordType = typeManager.getRecordTypeByName(rtName, null);
        assertEquals(recordType, readRecordType);
View Full Code Here

Examples of org.nutz.dao.entity.annotation.Many.field()

      Many many = field.getAnnotation(Many.class);
      if (null != many) {
        Mirror<?> ta = Mirror.me(many.target());
        Field pkFld;
        Field targetReferFld;
        if (Strings.isBlank(many.field())) {
          pkFld = null;
          targetReferFld = null;
        } else {
          targetReferFld = ta.getField(many.field());
          pkFld = lookupPkByReferField(mirror, targetReferFld);
View Full Code Here

Examples of org.nutz.dao.entity.annotation.One.field()

    try {
      // @One
      One one = field.getAnnotation(One.class);
      if (null != one) { // One > refer own field
        Mirror<?> ta = Mirror.me(one.target());
        Field referFld = mirror.getField(one.field());
        Field targetPkFld = lookupPkByReferField(ta, referFld);
        return Link.getLinkForOne(mirror, field, ta.getType(), referFld, targetPkFld);
      }
      Many many = field.getAnnotation(Many.class);
      if (null != many) {
View Full Code Here

Examples of org.qi4j.runtime.injection.InjectedFieldModel.field()

                public boolean visitEnter( Object visited ) throws BindingException
                {
                    if( visited instanceof InjectedFieldModel )
                    {
                        InjectedFieldModel fieldModel = (InjectedFieldModel) visited;
                        fieldModel.bind( resolution.forField( fieldModel.field() ) );
                        return false;
                    } else if( visited instanceof Binder )
                    {
                        Binder constructorsModel = (Binder) visited;
                        constructorsModel.bind( resolution );
View Full Code Here

Examples of org.seleniuminspector.openfaces.DateChooserInspector.field()

        Selenium selenium = getSelenium();
        liveDemoPage("/datechooser/DateChooser.jsf");
        assertPageContainsErrorIcon(false);

        DateChooserInspector defaultDateChooser = dateChooser("dcForm:dcDefault");
        defaultDateChooser.field().clear();
        defaultDateChooser.field().type("Oct 17, 2006sdfsdf");
        DateChooserInspector mMddDateChooser = dateChooser("dcForm:dcMMdd");
        mMddDateChooser.field().clear();
        mMddDateChooser.field().type("10/17/2006");
        assertPageContainsErrorIcon(true);
View Full Code Here

Examples of org.seleniuminspector.openfaces.DropDownFieldInspector.field()

            first.button().mouseDown();
        }

        // with keyboard help
        first.popup().assertVisible(false);
        first.field().keyDown(KeyEvent.VK_DOWN); // down key
        first.popup().assertVisible(true);
        first.popup().assertItemTexts(new String[]{"Red", "Yellow", "Blue"});

        // check with 'Esc' key
        first.field().keyPress(KeyEvent.VK_ESCAPE);
View Full Code Here

Examples of org.xbib.elasticsearch.skywalker.stats.TermStats.field()

                BytesRef term = termsEnum.next();
                if (term != null) {
                    BytesRef text = new BytesRef();
                    text.copyBytes(term);
                    TermStats ts = new TermStats();
                    ts.field(field).text(text).docFreq(termsEnum.docFreq());
                    tiq.insertWithOverflow(ts);
                } else {
                    break;
                }
            } catch (IOException e) {
View Full Code Here

Examples of redis.seek.Search.field()

        e.addText("title", "titulin");
        e.addTag("tagged");
        e.save();

        Search search = seek.search("2");
        search.field("status", "active");
        search.tag("tagged");
        Result run = search.run();

        assertEquals(1, run.getTotalCount());
    }
View Full Code Here

Examples of uk.ac.ucl.panda.utility.structure.Term.field()

            TermDocs termDocs = reader.termDocs();
            try {
               
                do {
                    Term term = enumerator.term();
                    if (term != null && term.field().equals(fieldName)) {
                        if (!checkLower || null==lowerTerm || term.text().compareTo(lowerTerm) > 0) {
                            checkLower = false;
                            if (upperTerm != null) {
                                int compare = upperTerm.compareTo(term.text());
                                /* if beyond the upper term, or is exclusive and
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.