Examples of addLocation()


Examples of ca.uhn.fhir.model.dstu.resource.OperationOutcome.Issue.addLocation()

    private void addIssue(SAXParseException theException, IssueSeverityEnum severity) {
      Issue issue = myContext.getOperationOutcome().addIssue();
      issue.setSeverity(severity);
      issue.setDetails(theException.getLocalizedMessage());
      issue.addLocation().setValue("Line[" + theException.getLineNumber() + "] Col[" + theException.getColumnNumber() + "]");
    }

    @Override
    public void error(SAXParseException theException) throws SAXException {
      addIssue(theException, IssueSeverityEnum.ERROR);
View Full Code Here

Examples of com.google.gdata.data.calendar.CalendarEntry.addLocation()

    calendar.setSummary(new PlainTextConstruct(
        "This calendar contains the practice schedule and game times."));
    calendar.setTimeZone(new TimeZoneProperty("America/Los_Angeles"));
    calendar.setHidden(HiddenProperty.FALSE);
    calendar.setColor(new ColorProperty(BLUE));
    calendar.addLocation(new Where("", "", "Oakland"));

    // Insert the calendar
    return service.insert(owncalendarsFeedUrl, calendar);
  }
View Full Code Here

Examples of de.fhpotsdam.unfolding.data.ShapeFeature.addLocation()

      } catch (ParseException e) {
        // println("Error:" + e);
      }

      speedList.add(speed);
      trackFeature.addLocation(location);
    }
    trackFeature.putProperty("speedList", speedList);
    trackFeatures.add(trackFeature);

    return trackFeatures;
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestampp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestampp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestamp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestampp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestampp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.DataProductType.addLocation()

        dataProduct.setId(dataObj.getId().toString());
        dataProduct.setSizeInBytes(dataObj.getSizeInBytes());
        // set data URLs
        List<URI> locations = dataObj.getLocations();
        for (URI location : locations) {
            dataProduct.addLocation(location.toString());
        }
        // set data timestamp
        final Calendar cal = new GregorianCalendar();
        cal.setTime(activityTimestamp != null ? activityTimestamp : new Date());
        dataProduct.setTimestamp(cal);
View Full Code Here

Examples of org.apache.cocoon.util.location.LocatedRuntimeException.addLocation()

            pe.addLocation(location);
            throw pe;

        } else if (thr instanceof LocatedRuntimeException) {
            LocatedRuntimeException re = (LocatedRuntimeException)thr;
            re.addLocation(location);
            // Rethrow
            throw re;
        }
       
        throw new ProcessingException(message, thr, location);
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.