Package ca.uhn.fhir.model.dstu2.resource
Class OperationOutcome
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.dstu2.resource.BaseResource
ca.uhn.fhir.model.dstu2.resource.OperationOutcome
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,ca.uhn.fhir.model.base.resource.BaseOperationOutcome
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseOperationOutcome
,org.hl7.fhir.instance.model.api.IBaseResource
public class OperationOutcome
extends BaseResource
implements ca.uhn.fhir.model.base.resource.BaseOperationOutcome
HAPI/FHIR OperationOutcome Resource
(infrastructure)
Definition: A collection of error, warning or information messages that result from a system action.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/OperationOutcome
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: OperationOutcome.issue ()Nested classes/interfaces inherited from interface ca.uhn.fhir.model.base.resource.BaseOperationOutcome
ca.uhn.fhir.model.base.resource.BaseOperationOutcome.BaseIssue
-
Field Summary
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddIssue()
Adds and returns a new value for issue ()addIssue
(OperationOutcome.Issue theValue) Adds a given new value for issue ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) getIssue()
Gets the value(s) for issue ().Gets the first repetition for issue (), creating it if it does not already exist.ca.uhn.fhir.context.FhirVersionEnum
boolean
isEmpty()
setIssue
(List<OperationOutcome.Issue> theValue) Sets the value(s) for issue ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Constructor Details
-
OperationOutcome
public OperationOutcome()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIssue
Gets the value(s) for issue (). creating it if it does not exist. Will not returnnull
.Definition: An error, warning or information message that results from a system action
- Specified by:
getIssue
in interfaceca.uhn.fhir.model.base.resource.BaseOperationOutcome
-
setIssue
Sets the value(s) for issue ()Definition: An error, warning or information message that results from a system action
-
addIssue
Adds and returns a new value for issue ()Definition: An error, warning or information message that results from a system action
- Specified by:
addIssue
in interfaceca.uhn.fhir.model.base.resource.BaseOperationOutcome
-
addIssue
Adds a given new value for issue ()Definition: An error, warning or information message that results from a system action
- Parameters:
theValue
- The issue to add (must not benull
)
-
getIssueFirstRep
Gets the first repetition for issue (), creating it if it does not already exist.Definition: An error, warning or information message that results from a system action
- Specified by:
getIssueFirstRep
in interfaceca.uhn.fhir.model.base.resource.BaseOperationOutcome
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-