Class DelegatingAuditMessageBuilder<T extends DelegatingAuditMessageBuilder<T,D>,D extends BaseAuditMessageBuilder<D>>
java.lang.Object
org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder<T,D>
- All Implemented Interfaces:
AuditMessageBuilder<T>
,Validateable
- Direct Known Subclasses:
IHEAuditMessageBuilder
public abstract class DelegatingAuditMessageBuilder<T extends DelegatingAuditMessageBuilder<T,D>,D extends BaseAuditMessageBuilder<D>>
extends Object
implements AuditMessageBuilder<T>
AuditMessageBuilder that wraps a DICOM
BaseAuditMessageBuilder
or a subclass thereof.
The intention is that subclasses provide their interaction-specific API for building audit
messages that is more closely aligned (in terms of wording) with what is specified in DICOM.- Since:
- 3.5
- Author:
- Christian Ohr
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.audit.event.AuditMessageBuilder
getMessages, getTypeValuePair, getTypeValuePair, getTypeValuePair, getTypeValuePair, self
-
Field Details
-
delegate
-
-
Constructor Details
-
DelegatingAuditMessageBuilder
-
-
Method Details
-
getMessage
- Specified by:
getMessage
in interfaceAuditMessageBuilder<T extends DelegatingAuditMessageBuilder<T,
D>> - Returns:
- the audit message being built
-
validate
public void validate()Description copied from interface:Validateable
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.- Specified by:
validate
in interfaceValidateable
-