Package no.unit.nva.model.contexttypes
Class Event.Builder
- java.lang.Object
-
- no.unit.nva.model.contexttypes.Event.Builder
-
- Enclosing class:
- Event
public static final class Event.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Eventbuild()Event.BuilderwithAgent(Agent agent)Event.BuilderwithLabel(java.lang.String label)Event.BuilderwithPlace(Place place)Event.BuilderwithProduct(java.net.URI product)Event.BuilderwithSubEvent(Event subEvent)Event.BuilderwithTime(Time time)
-
-
-
Method Detail
-
withLabel
public Event.Builder withLabel(java.lang.String label)
-
withPlace
public Event.Builder withPlace(Place place)
-
withTime
public Event.Builder withTime(Time time)
-
withAgent
public Event.Builder withAgent(Agent agent)
-
withProduct
public Event.Builder withProduct(java.net.URI product)
-
withSubEvent
public Event.Builder withSubEvent(Event subEvent)
-
build
public Event build()
-
-