Class AuditMessage
- java.lang.Object
-
- org.openehealth.ipf.commons.audit.model.AuditMessage
-
- All Implemented Interfaces:
Serializable
,Validateable
public class AuditMessage extends Object implements Serializable, Validateable
DICOM AuditMessage basis type. AuditMessage instances should always be built usingBaseAuditMessageBuilder
subclasses to ensure compliance with the specification.- Since:
- 3.5
- Author:
- Christian Ohr
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuditMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<ActiveParticipantType>
findActiveParticipants(Predicate<ActiveParticipantType> selector)
List<ParticipantObjectIdentificationType>
findParticipantObjectIdentifications(Predicate<ParticipantObjectIdentificationType> selector)
List<ActiveParticipantType>
getActiveParticipants()
AuditSourceIdentificationType
getAuditSourceIdentification()
EventIdentificationType
getEventIdentification()
List<ParticipantObjectIdentificationType>
getParticipantObjectIdentifications()
int
hashCode()
void
setAuditSourceIdentification(AuditSourceIdentificationType auditSourceIdentification)
void
setEventIdentification(EventIdentificationType eventIdentification)
String
toString()
void
validate()
Validates the constructed audit message against the specification, because API does not completely prevent constructing incomplete or inconsistent messages.
-
-
-
Method Detail
-
getActiveParticipants
public List<ActiveParticipantType> getActiveParticipants()
-
findActiveParticipants
public List<ActiveParticipantType> findActiveParticipants(Predicate<ActiveParticipantType> selector)
-
getParticipantObjectIdentifications
public List<ParticipantObjectIdentificationType> 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
-
canEqual
protected boolean canEqual(Object other)
-
getEventIdentification
public EventIdentificationType getEventIdentification()
-
setEventIdentification
public void setEventIdentification(EventIdentificationType eventIdentification)
-
getAuditSourceIdentification
public AuditSourceIdentificationType getAuditSourceIdentification()
-
setAuditSourceIdentification
public void setAuditSourceIdentification(AuditSourceIdentificationType auditSourceIdentification)
-
-