Class 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
Java 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 CodingtypeFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text -
Constructor Summary
Constructors Constructor Description AuditEvent() -
Method Summary
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, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
Constructor Details
-
AuditEvent
public AuditEvent()
-
-
Method Details
-
getType
Gets the value of the type property.- Returns:
- possible object is
Coding
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isCoding
-
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
Gets the value of the action property.- Returns:
- possible object is
AuditEventAction
-
setAction
Sets the value of the action property.- Parameters:
value- allowed object isAuditEventAction
-
getRecorded
Gets the value of the recorded property.- Returns:
- possible object is
Instant
-
setRecorded
Sets the value of the recorded property.- Parameters:
value- allowed object isInstant
-
getOutcome
Gets the value of the outcome property.- Returns:
- possible object is
AuditEventOutcome
-
setOutcome
Sets the value of the outcome property.- Parameters:
value- allowed object isAuditEventOutcome
-
getOutcomeDesc
Gets the value of the outcomeDesc property.- Returns:
- possible object is
String
-
setOutcomeDesc
Sets the value of the outcomeDesc property.- Parameters:
value- allowed object isString
-
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
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
Gets the value of the source property.- Returns:
- possible object is
AuditEventSource
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isAuditEventSource
-
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
-
withSubtype
-
withSubtype
-
withAction
-
withRecorded
-
withOutcome
-
withOutcomeDesc
-
withPurposeOfEvent
-
withPurposeOfEvent
-
withAgent
-
withAgent
-
withSource
-
withEntity
-
withEntity
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- 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
-