Package eu.planets_project.services.datatypes

Examples of eu.planets_project.services.datatypes.Agent


   * @return The created event
   */
  public Event buildEvent(List<Property> pList) {
    Event eCharacterisation = new Event(
        CHARACTERISATION_EVENT, System.currentTimeMillis() + "", new Double(DURATION),
        new Agent("http://centos.planets-project.ait.ac.at/pserv-pc-fits/FitsCharacterise?wsdl",
            characterise.NAME, characterise.QNAME.toString()),
        pList);
    return eCharacterisation;
  }
View Full Code Here


            Metadata META2 = new Metadata(URI.create("http://planets-project.eu"), "meta2", "meta2");
            Metadata[] metaList = new Metadata[2];
            metaList[0] = META1;
            metaList[1] = META2;
            Event[] eventList = new Event[2];
            Agent agent = new Agent("id", "name", "type");
            List<eu.planets_project.services.datatypes.Property> propList = new ArrayList<eu.planets_project.services.datatypes.Property>();
            eu.planets_project.services.datatypes.Property
            prop1 = new eu.planets_project.services.datatypes.Property.Builder(URI.create("http://planets-project.eu"))
                 .name("Java JVM System Properties")
                 .value("value")
View Full Code Here

    detailEntries.add(new DetailEntry(
        DOJCRConstants.PREMIS_EVENT_DURATION,
        Double.toString(event.getDuration())));
   
    // fill agent
    Agent agent = event.getAgent();
    if (agent != null)
      fillAgent(agent);

    // fill properties
    if (event.getProperties() != null)
View Full Code Here

  final double migrationDuration = new Date().getTime()
    - migrationStartTime.getTime();

  builder.format(outputFormat);
  final Agent agent = new Agent(this.toolIdentifier, this.serviceDescription
    .getName(), this.serviceDescription.getType());

  String eventSummary = "Migration carried out by executing the command line:";
  for (String commandLineFragment : prCommand) {
      eventSummary += " " + commandLineFragment;
View Full Code Here

TOP

Related Classes of eu.planets_project.services.datatypes.Agent

Copyright © 2018 www.massapicom. 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.