comparison src/main/java/de/intevation/lada/rest/ProbeService.java @ 711:3ec358698b4d

Code style and documentation.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 22 Jul 2015 16:03:03 +0200
parents e502e1af6256
children 03e26dbdfd77
comparison
equal deleted inserted replaced
710:2ae27dde4823 711:3ec358698b4d
339 } 339 }
340 if (probe.getUmwId() == null || probe.getUmwId().equals("")) { 340 if (probe.getUmwId() == null || probe.getUmwId().equals("")) {
341 probe = factory.findUmweltId(probe); 341 probe = factory.findUmweltId(probe);
342 } 342 }
343 if (probe.getMediaDesk() != null || probe.getMediaDesk().length() > 0) { 343 if (probe.getMediaDesk() != null || probe.getMediaDesk().length() > 0) {
344 probe = factory.findMediaDesk(probe); 344 probe = factory.findMediaDesk(probe);
345 } 345 }
346 /* Persist the new probe object*/ 346 /* Persist the new probe object*/
347 Response newProbe = defaultRepo.create(probe, "land"); 347 Response newProbe = defaultRepo.create(probe, "land");
348 LProbe ret = (LProbe)newProbe.getData(); 348 LProbe ret = (LProbe)newProbe.getData();
349 /* Create and persist a new probe translation object*/ 349 /* Create and persist a new probe translation object*/
367 * <p> 367 * <p>
368 * <p> 368 * <p>
369 * <pre> 369 * <pre>
370 * <code> 370 * <code>
371 * { 371 * {
372 * "id": [number],
373 * "start": [timestamp],
374 * "end": [timestamp]
372 * } 375 * }
373 * </code> 376 * </code>
374 * </pre> 377 * </pre>
375 * 378 *
376 * @return Response object containing the new probe object. 379 * @return Response object containing the new probe object.
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)