Class ImplementationGuide.Package
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
ImplementationGuide
Definition: A logical group of resources. Logical groups can be used when building pages
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for resource ()Adds a given new value for resource ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for description ().getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().Gets the value(s) for resource ().Gets the first repetition for resource (), creating it if it does not already exist.boolean
isEmpty()
setDescription
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for description ()setDescription
(String theString) Sets the value for description ()setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setResource
(List<ImplementationGuide.PackageResource> theValue) Sets the value(s) for resource ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
Package
public Package()
-
-
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
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: The name for the group, as used in page.package
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: The name for the group, as used in page.package
-
setName
Sets the value(s) for name ()Definition: The name for the group, as used in page.package
-
setName
Sets the value for name ()Definition: The name for the group, as used in page.package
-
getDescriptionElement
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull
.Definition:
-
getDescription
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull
.Definition:
-
setDescription
Sets the value(s) for description ()Definition:
-
setDescription
Sets the value for description ()Definition:
-
getResource
Gets the value(s) for resource (). creating it if it does not exist. Will not returnnull
.Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource
-
setResource
Sets the value(s) for resource ()Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource
-
addResource
Adds and returns a new value for resource ()Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource
-
addResource
Adds a given new value for resource ()Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource
- Parameters:
theValue
- The resource to add (must not benull
)
-
getResourceFirstRep
Gets the first repetition for resource (), creating it if it does not already exist.Definition: A resource that is part of the implementation guide. Conformance resources (value set, structure definition, conformance statements etc.) are obvious candidates for inclusion, but any kind of resource can be included as an example resource
-