Class ResourceEvent

java.lang.Object
com.sodius.oslc.server.trs.model.ResourceEvent

public class ResourceEvent extends Object
Describes an event occurred to a ResourceSeed.
Since:
1.10.0
  • Method Details

    • 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.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object