Module prov.model

Interface Activity

All Superinterfaces:
Element, HasLabel, HasLocation, HasOther, HasType, Identifiable, Statement, StatementOrBundle
All Known Implementing Classes:
Activity

public interface Activity extends Identifiable, HasLabel, HasType, HasLocation, HasOther, Statement, Element

Interface for the PROV Activity complex type.

PROV-DM Definition for Activity: An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities. *

Relevant Factory Methods:

The following schema fragment specifies the expected content contained within this type.

 <complexType name="Activity">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element ref="{http://www.w3.org/ns/prov#}label" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.w3.org/ns/prov#}location" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.w3.org/ns/prov#}type" maxOccurs="unbounded" minOccurs="0"/>
         <any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://www.w3.org/ns/prov#}id"/>
     </restriction>
   </complexContent>
 </complexType>
 
See Also: