public class AuditEvent extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected AuditEventAction |
action |
protected java.util.List<AuditEventAgent> |
agent |
protected java.util.List<AuditEventEntity> |
entity |
protected AuditEventOutcome |
outcome |
protected String |
outcomeDesc |
protected java.util.List<Coding> |
purposeOfEvent |
protected Instant |
recorded |
protected AuditEventSource |
source |
protected java.util.List<Coding> |
subtype |
protected Coding |
type |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
AuditEvent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
AuditEventAction |
getAction()
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.
|
AuditEventOutcome |
getOutcome()
Gets the value of the outcome property.
|
String |
getOutcomeDesc()
Gets the value of the outcomeDesc property.
|
java.util.List<Coding> |
getPurposeOfEvent()
Gets the value of the purposeOfEvent property.
|
Instant |
getRecorded()
Gets the value of the recorded property.
|
AuditEventSource |
getSource()
Gets the value of the source property.
|
java.util.List<Coding> |
getSubtype()
Gets the value of the subtype property.
|
Coding |
getType()
Gets the value of the type property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setAction(AuditEventAction value)
Sets the value of the action property.
|
void |
setOutcome(AuditEventOutcome value)
Sets the value of the outcome property.
|
void |
setOutcomeDesc(String value)
Sets the value of the outcomeDesc property.
|
void |
setRecorded(Instant value)
Sets the value of the recorded property.
|
void |
setSource(AuditEventSource value)
Sets the value of the source property.
|
void |
setType(Coding value)
Sets the value of the type property.
|
java.lang.String |
toString() |
AuditEvent |
withAction(AuditEventAction value) |
AuditEvent |
withAgent(AuditEventAgent... values) |
AuditEvent |
withAgent(java.util.Collection<AuditEventAgent> values) |
AuditEvent |
withContained(java.util.Collection<ResourceContainer> values) |
AuditEvent |
withContained(ResourceContainer... values) |
AuditEvent |
withEntity(AuditEventEntity... values) |
AuditEvent |
withEntity(java.util.Collection<AuditEventEntity> values) |
AuditEvent |
withExtension(java.util.Collection<Extension> values) |
AuditEvent |
withExtension(Extension... values) |
AuditEvent |
withId(Id value) |
AuditEvent |
withImplicitRules(Uri value) |
AuditEvent |
withLanguage(Code value) |
AuditEvent |
withMeta(Meta value) |
AuditEvent |
withModifierExtension(java.util.Collection<Extension> values) |
AuditEvent |
withModifierExtension(Extension... values) |
AuditEvent |
withOutcome(AuditEventOutcome value) |
AuditEvent |
withOutcomeDesc(String value) |
AuditEvent |
withPurposeOfEvent(Coding... values) |
AuditEvent |
withPurposeOfEvent(java.util.Collection<Coding> values) |
AuditEvent |
withRecorded(Instant value) |
AuditEvent |
withSource(AuditEventSource value) |
AuditEvent |
withSubtype(Coding... values) |
AuditEvent |
withSubtype(java.util.Collection<Coding> values) |
AuditEvent |
withText(Narrative value) |
AuditEvent |
withType(Coding value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected Coding type
protected java.util.List<Coding> subtype
protected AuditEventAction action
protected Instant recorded
protected AuditEventOutcome outcome
protected String outcomeDesc
protected java.util.List<Coding> purposeOfEvent
protected java.util.List<AuditEventAgent> agent
protected AuditEventSource source
protected java.util.List<AuditEventEntity> entity
public Coding getType()
Codingpublic void setType(Coding value)
value - allowed object is
Codingpublic java.util.List<Coding> getSubtype()
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 set method 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
public AuditEventAction getAction()
AuditEventActionpublic void setAction(AuditEventAction value)
value - allowed object is
AuditEventActionpublic Instant getRecorded()
Instantpublic void setRecorded(Instant value)
value - allowed object is
Instantpublic AuditEventOutcome getOutcome()
AuditEventOutcomepublic void setOutcome(AuditEventOutcome value)
value - allowed object is
AuditEventOutcomepublic String getOutcomeDesc()
Stringpublic void setOutcomeDesc(String value)
value - allowed object is
Stringpublic java.util.List<Coding> getPurposeOfEvent()
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 set method 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
public java.util.List<AuditEventAgent> getAgent()
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 set method 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
public AuditEventSource getSource()
AuditEventSourcepublic void setSource(AuditEventSource value)
value - allowed object is
AuditEventSourcepublic java.util.List<AuditEventEntity> getEntity()
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 set method 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
public AuditEvent withType(Coding value)
public AuditEvent withSubtype(Coding... values)
public AuditEvent withSubtype(java.util.Collection<Coding> values)
public AuditEvent withAction(AuditEventAction value)
public AuditEvent withRecorded(Instant value)
public AuditEvent withOutcome(AuditEventOutcome value)
public AuditEvent withOutcomeDesc(String value)
public AuditEvent withPurposeOfEvent(Coding... values)
public AuditEvent withPurposeOfEvent(java.util.Collection<Coding> values)
public AuditEvent withAgent(AuditEventAgent... values)
public AuditEvent withAgent(java.util.Collection<AuditEventAgent> values)
public AuditEvent withSource(AuditEventSource value)
public AuditEvent withEntity(AuditEventEntity... values)
public AuditEvent withEntity(java.util.Collection<AuditEventEntity> values)
public AuditEvent withText(Narrative value)
withText in class DomainResourcepublic AuditEvent withContained(ResourceContainer... values)
withContained in class DomainResourcepublic AuditEvent withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic AuditEvent withExtension(Extension... values)
withExtension in class DomainResourcepublic AuditEvent withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic AuditEvent withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic AuditEvent withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic AuditEvent withId(Id value)
withId in class DomainResourcepublic AuditEvent withMeta(Meta value)
withMeta in class DomainResourcepublic AuditEvent withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic AuditEvent withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource