public class OperationOutcomeIssue extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for OperationOutcome.Issue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OperationOutcome.Issue">
<complexContent>
<extension base="{http://hl7.org/fhir}BackboneElement">
<sequence>
<element name="severity" type="{http://hl7.org/fhir}IssueSeverity"/>
<element name="code" type="{http://hl7.org/fhir}IssueType"/>
<element name="details" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="diagnostics" type="{http://hl7.org/fhir}string" minOccurs="0"/>
<element name="location" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="expression" type="{http://hl7.org/fhir}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected IssueType |
code |
protected CodeableConcept |
details |
protected String |
diagnostics |
protected java.util.List<String> |
expression |
protected java.util.List<String> |
location |
protected IssueSeverity |
severity |
modifierExtension| Constructor and Description |
|---|
OperationOutcomeIssue() |
| 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) |
IssueType |
getCode()
Gets the value of the code property.
|
CodeableConcept |
getDetails()
Gets the value of the details property.
|
String |
getDiagnostics()
Gets the value of the diagnostics property.
|
java.util.List<String> |
getExpression()
Gets the value of the expression property.
|
java.util.List<String> |
getLocation()
Gets the value of the location property.
|
IssueSeverity |
getSeverity()
Gets the value of the severity property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setCode(IssueType value)
Sets the value of the code property.
|
void |
setDetails(CodeableConcept value)
Sets the value of the details property.
|
void |
setDiagnostics(String value)
Sets the value of the diagnostics property.
|
void |
setSeverity(IssueSeverity value)
Sets the value of the severity property.
|
java.lang.String |
toString() |
OperationOutcomeIssue |
withCode(IssueType value) |
OperationOutcomeIssue |
withDetails(CodeableConcept value) |
OperationOutcomeIssue |
withDiagnostics(String value) |
OperationOutcomeIssue |
withExpression(java.util.Collection<String> values) |
OperationOutcomeIssue |
withExpression(String... values) |
OperationOutcomeIssue |
withExtension(java.util.Collection<Extension> values) |
OperationOutcomeIssue |
withExtension(Extension... values) |
OperationOutcomeIssue |
withId(java.lang.String value) |
OperationOutcomeIssue |
withLocation(java.util.Collection<String> values) |
OperationOutcomeIssue |
withLocation(String... values) |
OperationOutcomeIssue |
withModifierExtension(java.util.Collection<Extension> values) |
OperationOutcomeIssue |
withModifierExtension(Extension... values) |
OperationOutcomeIssue |
withSeverity(IssueSeverity value) |
getModifierExtensiongetExtension, getId, setIdprotected IssueSeverity severity
protected IssueType code
protected CodeableConcept details
protected String diagnostics
protected java.util.List<String> location
protected java.util.List<String> expression
public IssueSeverity getSeverity()
IssueSeveritypublic void setSeverity(IssueSeverity value)
value - allowed object is
IssueSeveritypublic IssueType getCode()
IssueTypepublic void setCode(IssueType value)
value - allowed object is
IssueTypepublic CodeableConcept getDetails()
CodeableConceptpublic void setDetails(CodeableConcept value)
value - allowed object is
CodeableConceptpublic String getDiagnostics()
Stringpublic void setDiagnostics(String value)
value - allowed object is
Stringpublic java.util.List<String> getLocation()
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 location property.
For example, to add a new item, do as follows:
getLocation().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.util.List<String> getExpression()
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 expression property.
For example, to add a new item, do as follows:
getExpression().add(newItem);
Objects of the following type(s) are allowed in the list
String
public OperationOutcomeIssue withSeverity(IssueSeverity value)
public OperationOutcomeIssue withCode(IssueType value)
public OperationOutcomeIssue withDetails(CodeableConcept value)
public OperationOutcomeIssue withDiagnostics(String value)
public OperationOutcomeIssue withLocation(String... values)
public OperationOutcomeIssue withLocation(java.util.Collection<String> values)
public OperationOutcomeIssue withExpression(String... values)
public OperationOutcomeIssue withExpression(java.util.Collection<String> values)
public OperationOutcomeIssue withModifierExtension(Extension... values)
withModifierExtension in class BackboneElementpublic OperationOutcomeIssue withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class BackboneElementpublic OperationOutcomeIssue withExtension(Extension... values)
withExtension in class BackboneElementpublic OperationOutcomeIssue withExtension(java.util.Collection<Extension> values)
withExtension in class BackboneElementpublic OperationOutcomeIssue withId(java.lang.String value)
withId in class BackboneElementpublic 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 BackboneElementpublic boolean equals(java.lang.Object object)
equals in class BackboneElementpublic 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 BackboneElementpublic int hashCode()
hashCode in class BackboneElementpublic java.lang.String toString()
toString in class BackboneElementpublic 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 BackboneElementpublic 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 BackboneElement