Package org.openprovenance.prov.model
Interface HasTime
-
- All Known Subinterfaces:
Used,WasEndedBy,WasGeneratedBy,WasInvalidatedBy,WasStartedBy
- All Known Implementing Classes:
Used,WasEndedBy,WasGeneratedBy,WasInvalidatedBy,WasStartedBy
public interface HasTimeInterface for PROV objects that have time.
In PROV, time instants are defined according to xsd:dateTime.
Relevant class
- Author:
- lavm
-
-
Method Summary
Modifier and Type Method Description XMLGregorianCalendargetTime()Get time instantvoidsetTime(XMLGregorianCalendar time)Set time instant
-
-
-
Method Detail
-
getTime
XMLGregorianCalendar getTime()
Get time instant- Returns:
XMLGregorianCalendar
-
setTime
void setTime(XMLGregorianCalendar time)
Set time instant- Parameters:
time-
-
-