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:
ProvFactory.newActivity(QualifiedName)
ProvFactory.newActivity(org.openprovenance.prov.model.QualifiedName, javax.xml.datatype.XMLGregorianCalendar, javax.xml.datatype.XMLGregorianCalendar, java.util.Collection)
ObjectFactory.createActivity()
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>
StatementOrBundle.Kind| Modifier and Type | Method and Description |
|---|---|
XMLGregorianCalendar |
getEndTime()
Gets the value of the endTime property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
void |
setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
getLocationgetId, setIdgetKindXMLGregorianCalendar getStartTime()
XMLGregorianCalendarvoid setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarXMLGregorianCalendar getEndTime()
XMLGregorianCalendarvoid setEndTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarCopyright © 2016. All rights reserved.