Class AuditEvent
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected AuditEventActionprotected List<AuditEventAgent> protected List<AuditEventEntity> protected AuditEventOutcomeprotected Stringprotected Instantprotected AuditEventSourceprotected CodingFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the action property.getAgent()Gets the value of the agent property.Gets the value of the entity property.Gets the value of the outcome property.Gets the value of the outcomeDesc property.Gets the value of the purposeOfEvent property.Gets the value of the recorded property.Gets the value of the source property.Gets the value of the subtype property.getType()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.voidsetAgent(List<AuditEventAgent> value) voidsetEntity(List<AuditEventEntity> value) voidsetOutcome(AuditEventOutcome value) Sets the value of the outcome property.voidsetOutcomeDesc(String value) Sets the value of the outcomeDesc property.voidsetPurposeOfEvent(List<Coding> value) voidsetRecorded(Instant value) Sets the value of the recorded property.voidsetSource(AuditEventSource value) Sets the value of the source property.voidsetSubtype(List<Coding> value) voidSets the value of the type property.toString()withAction(AuditEventAction value) withAgent(Collection<AuditEventAgent> values) withAgent(AuditEventAgent... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withEntity(Collection<AuditEventEntity> values) withEntity(AuditEventEntity... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withOutcome(AuditEventOutcome value) withOutcomeDesc(String value) withPurposeOfEvent(Collection<Coding> values) withPurposeOfEvent(Coding... values) withRecorded(Instant value) withSource(AuditEventSource value) withSubtype(Collection<Coding> values) withSubtype(Coding... values) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
type
-
subtype
-
action
-
recorded
-
outcome
-
outcomeDesc
-
purposeOfEvent
-
agent
-
source
-
entity
-
-
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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- 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
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setSubtype
-
setPurposeOfEvent
-
setAgent
-
setEntity
-