Examples of key()


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

        return Link.getLinkForManymirror,
                      field,
                      ta.getType(),
                      targetReferFld,
                      pkFld,
                      many.key());
      }
      ManyMany mm = field.getAnnotation(ManyMany.class);
      if (null != mm) {
        // Read relation
        Statement stat = null;
View Full Code Here

Examples of org.nutz.dao.entity.annotation.ManyMany.key()

        return Link.getLinkForManyManymirror,
                        field,
                        ta.getType(),
                        selfPk,
                        targetPk,
                        mm.key(),
                        mm.relation(),
                        mm.from(),
                        mm.to());
        // return Link.getLinkForManyMany(mirror, field, mm.target(),
        // mm.key(), mm.from(), mm
View Full Code Here

Examples of org.ofbiz.workflow.WfActivity.key()

    private WfActivity getActivity(String key) throws WfException {
        Iterator i = getIteratorStep();

        while (i.hasNext()) {
            WfActivity a = (WfActivity) i.next();
            if (a.key().equals(key))
                return a;
        }
        throw new WfException("Activity not an active member of this process");
    }
View Full Code Here

Examples of org.opencms.i18n.CmsMessages.key()

        CmsMessages messages = Messages.get().getBundle(getLocale());

        // template was not found in regular template folders, add current template value
        if (CmsStringUtil.isEmpty(currentTemplate)) {
            // current template not available, add "please select" value
          String name = "--- " + messages.key(org.opencms.workplace.editors.Messages.GUI_PLEASE_SELECT_0) + " ---";
            options.add(0, new ListItem(name, name, true));
        } else {
            // current template was set to some value, add this value to the selection
            String name = null;
            try {
View Full Code Here

Examples of org.openjena.atlas.json.io.JSWriter.key()

        JSWriter out = new JSWriter(outStream) ;
       
        out.startOutput() ;

        out.startObject() ;
        out.key(kHead) ;
        out.startObject() ;
        out.finishObject() ;
        out.pair(kBoolean, result) ;
        out.finishObject() ;
       
View Full Code Here

Examples of org.ozoneDB.DxLib.DxIterator.key()

        while (i.next()!=null) {
            if (kill) {
                break;
            }

            ObjectID        id          = (ObjectID) i.key();
            try {
                notifyAboutTransactionActionAndRenewTransactionIfRequired();
                ObjectContainer container = transaction.acquireObjectAndPin(id,Lock.LEVEL_READ);

                try {
View Full Code Here

Examples of org.richfaces.json.JSONWriter.key()

  private void createDefaultColumnsVisibility(UIExtendedDataTable extendedDataTable){
    try {
      JSONWriter writer = new JSONStringer().object();
      for (Iterator<UIColumn> iter = extendedDataTable.getChildColumns(); iter.hasNext();) {
        UIColumn col = iter.next();
        writer.key(col.getId()).value(col.isVisible() ? TRUE : FALSE);
      }
      value = new JSONObject(writer.endObject().toString());
    } catch (JSONException e) {
      e.printStackTrace();
    }
View Full Code Here

Examples of org.rocksdb.RocksIterator.key()

      iterator = db.newIterator();

      iterator.seekToFirst();
      assertThat(iterator.isValid()).isTrue();
      assertThat(iterator.key()).isEqualTo("key1".getBytes());
      assertThat(iterator.value()).isEqualTo("value1".getBytes());
      iterator.next();
      assertThat(iterator.isValid()).isTrue();
      assertThat(iterator.key()).isEqualTo("key2".getBytes());
      assertThat(iterator.value()).isEqualTo("value2".getBytes());
View Full Code Here

Examples of org.sonar.api.batch.debt.DebtCharacteristic.key()

    DebtModel result = provider.provide(dao);
    assertThat(result.characteristics()).hasSize(1);

    DebtCharacteristic characteristic = result.characteristicByKey("MEMORY_EFFICIENCY");
    assertThat(characteristic.key()).isEqualTo("MEMORY_EFFICIENCY");
    assertThat(characteristic.name()).isEqualTo("Memory use");
    assertThat(characteristic.isSub()).isFalse();
    assertThat(characteristic.order()).isEqualTo(1);

    DebtCharacteristic subCharacteristic = result.characteristicByKey("EFFICIENCY");
View Full Code Here

Examples of org.sonar.api.batch.fs.internal.DeprecatedDefaultInputFile.key()

    assertThat(inputFile.type()).isEqualTo(InputFile.Type.MAIN);
    assertThat(inputFile.file()).isEqualTo(srcFile.getAbsoluteFile());
    assertThat(inputFile.absolutePath()).isEqualTo(PathUtils.sanitize(srcFile.getAbsolutePath()));
    assertThat(inputFile.language()).isEqualTo("java");
    assertThat(inputFile.key()).isEqualTo("struts:src/main/java/foo/Bar.java");
    assertThat(inputFile.relativePath()).isEqualTo("src/main/java/foo/Bar.java");
    assertThat(inputFile.lines()).isEqualTo(1);
    assertThat(inputFile.sourceDirAbsolutePath()).isNull();
    assertThat(inputFile.pathRelativeToSourceDir()).isNull();
    assertThat(inputFile.deprecatedKey()).isNull();
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.