Class HistoryData
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.trs.server.HistoryData
-
public class HistoryData extends Object
This class represents an event occurring on a specific resource at some point in time.- Since:
- 2.3.0
- Version:
- $version-stub$
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static HistoryDatagetInstance(Date timestamp, URI uri, String type)DategetTimestamp()Deprecated.StringgetType()URIgetUri()StringtoString()
-
-
-
Field Detail
-
CREATED
public static final String CREATED
trs:Creation- See Also:
- Constant Field Values
-
MODIFIED
public static final String MODIFIED
trs:Modification- See Also:
- Constant Field Values
-
DELETED
public static final String DELETED
trs:Deletion- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static HistoryData getInstance(Date timestamp, URI uri, String type)
-
getTimestamp
@Deprecated public Date getTimestamp()
Deprecated.- Returns:
- the timestamp
-
getUri
public URI getUri()
- Returns:
- the url
-
getType
public String getType()
- Returns:
- the type
-
-