Examples of SetInfo


Examples of com.cxy.redisclient.dto.SetInfo

      String key, Set<String> values) {
    for (TableItem item : items) {
      if(item.getText().length() > 0)
        values.add(item.getText());
    }
    setResult(new SetInfo(key, values, dataContent.getTTL()));
    shell.dispose();
  }
View Full Code Here

Examples of com.cxy.redisclient.dto.SetInfo

    parseContainer(treeItem, cinfo);

    NewSetDialog dialog = new NewSetDialog(shell, iconImage, cinfo.getId(),
        cinfo.getServerName(), cinfo.getDb(), cinfo.getContainerStr());
    SetInfo info = (SetInfo) dialog.open();
    if (info != null) {
      service5.add(cinfo.getId(), cinfo.getDb(), info.getKey(),
          info.getValues(), info.getTtl());
      treeItem.setData(ITEM_OPENED, false);
      dbContainerTreeItemSelected(treeItem, false);
      gotoDBContainer(cinfo.getId(), cinfo.getDb(), info.getKey(), true,
          false);
    }
  }
View Full Code Here

Examples of org.fao.oaipmh.responses.SetInfo

    for (MetadataCategory rec : metadataCategories)
    {
      String name  = rec.getName();
      String label = rec.getLabel(context.getLanguage());

      res.addSet(new SetInfo(name, label));
    }

    return res;
  }
View Full Code Here

Examples of org.fao.oaipmh.responses.SetInfo

      //--- build response

      while (res.hasNext())
      {
        SetInfo si = res.next();

        Element el = new Element("set");

        el.addContent(new Element("name") .setText(si.getSpec()));
        el.addContent(new Element("label").setText(si.getName()));

        root.addContent(el);
      }
    }
    catch(NoSetHierarchyException e)
View Full Code Here

Examples of org.fao.oaipmh.responses.SetInfo

  //---
  //---------------------------------------------------------------------------

  protected Object createObject(Element object)
  {
    return new SetInfo(object);
  }
View Full Code Here

Examples of proai.SetInfo

    }

    Collection<SetInfo> result = new ArrayList<SetInfo>();
    for (String key : setInfoMap.keySet()) {
      Map<String, String> setInfoSubMap = setInfoMap.get(key);
      SetInfo setInfo = new SetInfoImpl(
          setInfoSubMap.get(SETINFO_SPEC_SUFFIX),
          setInfoSubMap.get(SETINFO_NAME_SUFFIX),
          setInfoSubMap.get(SETINFO_CONTENT_MODEL_SUFFIX));
      result.add(setInfo);
    }
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.