Package dev.dsf.fhir.event
Class AbstractEvent
java.lang.Object
dev.dsf.fhir.event.AbstractEvent
- All Implemented Interfaces:
Event
- Direct Known Subclasses:
AbstractEventWithResource,ResourceDeletedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractEvent(Class<? extends org.hl7.fhir.r4.model.Resource> type, String id) -
Method Summary
-
Constructor Details
-
AbstractEvent
- Parameters:
type- notnullid- notnull
-
-
Method Details
-
getResourceType
- Specified by:
getResourceTypein interfaceEvent- Returns:
- never
null
-
getId
-
getResource
public org.hl7.fhir.r4.model.Resource getResource()- Specified by:
getResourcein interfaceEvent- Returns:
- always
null
-