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 anevent
occurred to aResourceSeed
.- Since:
- 1.10.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceEvent.Type
Possible type of resource events.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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.Date
getTime()
Gets the time of this event.ResourceEvent.Type
getType()
Gets the type of this event.int
hashCode()
-
-
-
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.
-
-