Package com.sodius.oslc.server.trs.model
Class ResourceEvent
- java.lang.Object
-
- com.sodius.oslc.server.trs.model.ResourceEvent
-
public class ResourceEvent extends Object
Describes aneventoccurred to aResourceSeed.- Since:
- 1.10.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceEvent.TypePossible type of resource events.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ResourceSeedgetResourceSeed()Gets the resource's seed of this event, which is the minimal information that later enables to recompute the URI of the resource.DategetTime()Gets the time of this event.ResourceEvent.TypegetType()Gets the type of this event.inthashCode()
-
-
-
Method Detail
-
getType
public ResourceEvent.Type getType()
Gets the type of this event.- Returns:
- the type of this event.
-
getResourceSeed
public ResourceSeed getResourceSeed()
Gets the resource's seed of this event, which is the minimal information that later enables to recompute the URI of the resource.- Returns:
- the resource's seed of this event.
-
getTime
public Date getTime()
Gets the time of this event.- Returns:
- the time of this event.
-
-