Class ImplementationGuide.Package
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.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
public static class ImplementationGuide.Package extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ImplementationGuide.package ()Definition: A logical group of resources. Logical groups can be used when building pages
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Package()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImplementationGuide.PackageResourceaddResource()Adds and returns a new value for resource ()ImplementationGuide.PackageaddResource(ImplementationGuide.PackageResource theValue)Adds a given new value for resource ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)StringgetDescription()Gets the value(s) for description ().ca.uhn.fhir.model.primitive.StringDtgetDescriptionElement()Gets the value(s) for description ().StringgetName()Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDtgetNameElement()Gets the value(s) for name ().List<ImplementationGuide.PackageResource>getResource()Gets the value(s) for resource ().ImplementationGuide.PackageResourcegetResourceFirstRep()Gets the first repetition for resource (), creating it if it does not already exist.booleanisEmpty()ImplementationGuide.PackagesetDescription(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for description ()ImplementationGuide.PackagesetDescription(String theString)Sets the value for description ()ImplementationGuide.PackagesetName(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for name ()ImplementationGuide.PackagesetName(String theString)Sets the value for name ()ImplementationGuide.PackagesetResource(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
-
-
-
-
Constructor Detail
-
Package
public Package()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getNameElement
public ca.uhn.fhir.model.primitive.StringDt 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
public String 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
public ImplementationGuide.Package setName(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for name ()Definition: The name for the group, as used in page.package
-
setName
public ImplementationGuide.Package setName(String theString)
Sets the value for name ()Definition: The name for the group, as used in page.package
-
getDescriptionElement
public ca.uhn.fhir.model.primitive.StringDt getDescriptionElement()
Gets the value(s) for description (). creating it if it does not exist. Will not returnnull.Definition:
-
getDescription
public String getDescription()
Gets the value(s) for description (). creating it if it does not exist. This method may returnnull.Definition:
-
setDescription
public ImplementationGuide.Package setDescription(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for description ()Definition:
-
setDescription
public ImplementationGuide.Package setDescription(String theString)
Sets the value for description ()Definition:
-
getResource
public List<ImplementationGuide.PackageResource> 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
public ImplementationGuide.Package setResource(List<ImplementationGuide.PackageResource> theValue)
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
public ImplementationGuide.PackageResource 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
public ImplementationGuide.Package addResource(ImplementationGuide.PackageResource theValue)
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
public ImplementationGuide.PackageResource 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
-
-