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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanfindActiveParticipants(Predicate<ActiveParticipantType> selector) inthashCode()voidsetAuditSourceIdentification(AuditSourceIdentificationType auditSourceIdentification) voidsetEventIdentification(EventIdentificationType eventIdentification) toString()voidvalidate()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:
validatein interfaceValidateable- Throws:
AuditException- AuditException in case validation fails
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getEventIdentification
-
setEventIdentification
-
getAuditSourceIdentification
-
setAuditSourceIdentification
-