Class AuditMessage
java.lang.Object
org.openehealth.ipf.commons.audit.model.AuditMessage
- All Implemented Interfaces:
Serializable
,Validateable
DICOM AuditMessage basis type. AuditMessage instances should always be built using
BaseAuditMessageBuilder
subclasses to
ensure compliance with the specification.- Since:
- 3.5
- Author:
- Christian Ohr
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
findActiveParticipants
(Predicate<ActiveParticipantType> selector) int
hashCode()
void
setAuditSourceIdentification
(AuditSourceIdentificationType auditSourceIdentification) void
setEventIdentification
(EventIdentificationType eventIdentification) toString()
void
validate()
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.
-
Constructor Details
-
AuditMessage
public AuditMessage()
-
-
Method Details
-
getActiveParticipants
-
findActiveParticipants
public List<ActiveParticipantType> findActiveParticipants(Predicate<ActiveParticipantType> selector) -
getParticipantObjectIdentifications
-
findParticipantObjectIdentifications
public List<ParticipantObjectIdentificationType> findParticipantObjectIdentifications(Predicate<ParticipantObjectIdentificationType> selector) -
validate
public void validate()Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.- Specified by:
validate
in interfaceValidateable
- Throws:
AuditException
- AuditException in case validation fails
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getEventIdentification
-
setEventIdentification
-
getAuditSourceIdentification
-
setAuditSourceIdentification
-