Class AuditEvent
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.AuditEvent
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class AuditEvent extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for AuditEvent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AuditEvent"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="type" type="{http://hl7.org/fhir}Coding"/> <element name="subtype" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/> <element name="action" type="{http://hl7.org/fhir}AuditEventAction" minOccurs="0"/> <element name="recorded" type="{http://hl7.org/fhir}instant"/> <element name="outcome" type="{http://hl7.org/fhir}AuditEventOutcome" minOccurs="0"/> <element name="outcomeDesc" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="purposeOfEvent" type="{http://hl7.org/fhir}Coding" maxOccurs="unbounded" minOccurs="0"/> <element name="agent" type="{http://hl7.org/fhir}AuditEvent.Agent" maxOccurs="unbounded"/> <element name="source" type="{http://hl7.org/fhir}AuditEvent.Source"/> <element name="entity" type="{http://hl7.org/fhir}AuditEvent.Entity" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AuditEventActionactionprotected java.util.List<AuditEventAgent>agentprotected java.util.List<AuditEventEntity>entityprotected AuditEventOutcomeoutcomeprotected StringoutcomeDescprotected java.util.List<Coding>purposeOfEventprotected Instantrecordedprotected AuditEventSourcesourceprotected java.util.List<Coding>subtypeprotected Codingtype-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description AuditEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)AuditEventActiongetAction()Gets the value of the action property.java.util.List<AuditEventAgent>getAgent()Gets the value of the agent property.java.util.List<AuditEventEntity>getEntity()Gets the value of the entity property.AuditEventOutcomegetOutcome()Gets the value of the outcome property.StringgetOutcomeDesc()Gets the value of the outcomeDesc property.java.util.List<Coding>getPurposeOfEvent()Gets the value of the purposeOfEvent property.InstantgetRecorded()Gets the value of the recorded property.AuditEventSourcegetSource()Gets the value of the source property.java.util.List<Coding>getSubtype()Gets the value of the subtype property.CodinggetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAction(AuditEventAction value)Sets the value of the action property.voidsetOutcome(AuditEventOutcome value)Sets the value of the outcome property.voidsetOutcomeDesc(String value)Sets the value of the outcomeDesc property.voidsetRecorded(Instant value)Sets the value of the recorded property.voidsetSource(AuditEventSource value)Sets the value of the source property.voidsetType(Coding value)Sets the value of the type property.java.lang.StringtoString()AuditEventwithAction(AuditEventAction value)AuditEventwithAgent(java.util.Collection<AuditEventAgent> values)AuditEventwithAgent(AuditEventAgent... values)AuditEventwithContained(java.util.Collection<ResourceContainer> values)AuditEventwithContained(ResourceContainer... values)AuditEventwithEntity(java.util.Collection<AuditEventEntity> values)AuditEventwithEntity(AuditEventEntity... values)AuditEventwithExtension(java.util.Collection<Extension> values)AuditEventwithExtension(Extension... values)AuditEventwithId(Id value)AuditEventwithImplicitRules(Uri value)AuditEventwithLanguage(Code value)AuditEventwithMeta(Meta value)AuditEventwithModifierExtension(java.util.Collection<Extension> values)AuditEventwithModifierExtension(Extension... values)AuditEventwithOutcome(AuditEventOutcome value)AuditEventwithOutcomeDesc(String value)AuditEventwithPurposeOfEvent(java.util.Collection<Coding> values)AuditEventwithPurposeOfEvent(Coding... values)AuditEventwithRecorded(Instant value)AuditEventwithSource(AuditEventSource value)AuditEventwithSubtype(java.util.Collection<Coding> values)AuditEventwithSubtype(Coding... values)AuditEventwithText(Narrative value)AuditEventwithType(Coding value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
type
protected Coding type
-
subtype
protected java.util.List<Coding> subtype
-
action
protected AuditEventAction action
-
recorded
protected Instant recorded
-
outcome
protected AuditEventOutcome outcome
-
outcomeDesc
protected String outcomeDesc
-
purposeOfEvent
protected java.util.List<Coding> purposeOfEvent
-
agent
protected java.util.List<AuditEventAgent> agent
-
source
protected AuditEventSource source
-
entity
protected java.util.List<AuditEventEntity> entity
-
-
Method Detail
-
getType
public Coding getType()
Gets the value of the type property.- Returns:
- possible object is
Coding
-
setType
public void setType(Coding value)
Sets the value of the type property.- Parameters:
value- allowed object isCoding
-
getSubtype
public java.util.List<Coding> getSubtype()
Gets the value of the subtype property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the subtype property.For example, to add a new item, do as follows:
getSubtype().add(newItem);Objects of the following type(s) are allowed in the list
Coding
-
getAction
public AuditEventAction getAction()
Gets the value of the action property.- Returns:
- possible object is
AuditEventAction
-
setAction
public void setAction(AuditEventAction value)
Sets the value of the action property.- Parameters:
value- allowed object isAuditEventAction
-
getRecorded
public Instant getRecorded()
Gets the value of the recorded property.- Returns:
- possible object is
Instant
-
setRecorded
public void setRecorded(Instant value)
Sets the value of the recorded property.- Parameters:
value- allowed object isInstant
-
getOutcome
public AuditEventOutcome getOutcome()
Gets the value of the outcome property.- Returns:
- possible object is
AuditEventOutcome
-
setOutcome
public void setOutcome(AuditEventOutcome value)
Sets the value of the outcome property.- Parameters:
value- allowed object isAuditEventOutcome
-
getOutcomeDesc
public String getOutcomeDesc()
Gets the value of the outcomeDesc property.- Returns:
- possible object is
String
-
setOutcomeDesc
public void setOutcomeDesc(String value)
Sets the value of the outcomeDesc property.- Parameters:
value- allowed object isString
-
getPurposeOfEvent
public java.util.List<Coding> getPurposeOfEvent()
Gets the value of the purposeOfEvent property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the purposeOfEvent property.For example, to add a new item, do as follows:
getPurposeOfEvent().add(newItem);Objects of the following type(s) are allowed in the list
Coding
-
getAgent
public java.util.List<AuditEventAgent> getAgent()
Gets the value of the agent property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the agent property.For example, to add a new item, do as follows:
getAgent().add(newItem);Objects of the following type(s) are allowed in the list
AuditEventAgent
-
getSource
public AuditEventSource getSource()
Gets the value of the source property.- Returns:
- possible object is
AuditEventSource
-
setSource
public void setSource(AuditEventSource value)
Sets the value of the source property.- Parameters:
value- allowed object isAuditEventSource
-
getEntity
public java.util.List<AuditEventEntity> getEntity()
Gets the value of the entity property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the entity property.For example, to add a new item, do as follows:
getEntity().add(newItem);Objects of the following type(s) are allowed in the list
AuditEventEntity
-
withType
public AuditEvent withType(Coding value)
-
withSubtype
public AuditEvent withSubtype(Coding... values)
-
withSubtype
public AuditEvent withSubtype(java.util.Collection<Coding> values)
-
withAction
public AuditEvent withAction(AuditEventAction value)
-
withRecorded
public AuditEvent withRecorded(Instant value)
-
withOutcome
public AuditEvent withOutcome(AuditEventOutcome value)
-
withOutcomeDesc
public AuditEvent withOutcomeDesc(String value)
-
withPurposeOfEvent
public AuditEvent withPurposeOfEvent(Coding... values)
-
withPurposeOfEvent
public AuditEvent withPurposeOfEvent(java.util.Collection<Coding> values)
-
withAgent
public AuditEvent withAgent(AuditEventAgent... values)
-
withAgent
public AuditEvent withAgent(java.util.Collection<AuditEventAgent> values)
-
withSource
public AuditEvent withSource(AuditEventSource value)
-
withEntity
public AuditEvent withEntity(AuditEventEntity... values)
-
withEntity
public AuditEvent withEntity(java.util.Collection<AuditEventEntity> values)
-
withText
public AuditEvent withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public AuditEvent withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public AuditEvent withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public AuditEvent withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public AuditEvent withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public AuditEvent withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public AuditEvent withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public AuditEvent withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public AuditEvent withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public AuditEvent withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public AuditEvent withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-