Examples of Record


Examples of ru.vsu.amm.domain.Record

  public void logMethodCall(String methodName, String sourceFileName, String... args) {
    StringBuilder methodCallDescription = new StringBuilder(methodName);
    for (String string : args) {
      methodCallDescription.append("(" + string + ")");
    }
    mongoTemplate.save(new Record(methodCallDescription.toString(), sourceFileName));
  }
View Full Code Here

Examples of se.kb.oai.pmh.Record

     * @see eu.planets_project.ifr.core.storage.api.DigitalObjectManager#retrieve(java.net.URI)
     */
    public DigitalObject retrieve(URI pdURI) throws DigitalObjectNotFoundException {
        OaiPmhServer server = new OaiPmhServer(baseURL);
        try {
            Record rec = server.getRecord(pdURI.toString(), metaDataPrefix);
            Element recEle = rec.getMetadata();
            if (recEle != null) {

                Document doc = recEle.getDocument();
                HashMap<String, String> map = new HashMap<String, String>();
                map.put("pmh", "http://www.openarchives.org/OAI/2.0/");
View Full Code Here

Examples of sos.hostware.Record

          this.getLogger().debug1("not found file position for \"" + localFilename + "\" in database : position will be skipped");
        }
      }
      int i = 0;
      while (!hwFile.eof()) {
        Record lineRecord = hwFile.get();
        _recordFoundCount++;
        if (position >= _recordFoundCount) {
          _recordSkippedCount++;
          continue;
        }
        recordParameters = new LinkedHashMap();
        recordExtraParameters = new LinkedHashMap();
        for (int j = 0; j < lineRecord.field_count(); j++) {
          String val = lineRecord.string(lineRecord.field_name(j)) == null ? "" : lineRecord.string(lineRecord.field_name(j));
          if (_mappings.containsValue(lineRecord.field_name(j))) {
            recordParameters.put(lineRecord.field_name(j), val);
          }
          else {
            recordExtraParameters.put(lineRecord.field_name(j).toUpperCase(), val);
          }
        }
        recordExtraParameters = checkRecordExtraParameters(recordExtraParameters);
        try {
          if (importLine(recordParameters, recordExtraParameters, false)) {
View Full Code Here

Examples of whitedb.holder.Record

        WhiteDB db = new WhiteDB(500000, true);
        db.writeObjectToDatabase(sampleObject);

        sampleObject = null;

        Record record = db.getFirstRecord();
        sampleObject = db.readObjectFromDatabase(SampleObject.class, record);

        System.out.println("Object read from database: " + sampleObject);
        db.close();
    }
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.