Package dev.dsf.fhir.event
Class AbstractEventWithResource
java.lang.Object
dev.dsf.fhir.event.AbstractEvent
dev.dsf.fhir.event.AbstractEventWithResource
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
ResourceCreatedEvent,ResourceUpdatedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractEventWithResource(Class<? extends org.hl7.fhir.r4.model.Resource> type, org.hl7.fhir.r4.model.Resource resource) -
Method Summary
Methods inherited from class dev.dsf.fhir.event.AbstractEvent
getId, getResourceTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.dsf.fhir.event.Event
getId, getResourceType
-
Constructor Details
-
AbstractEventWithResource
public AbstractEventWithResource(Class<? extends org.hl7.fhir.r4.model.Resource> type, org.hl7.fhir.r4.model.Resource resource)
-
-
Method Details
-
getResource
public org.hl7.fhir.r4.model.Resource getResource()- Specified by:
getResourcein interfaceEvent- Overrides:
getResourcein classAbstractEvent- Returns:
- never
null
-