Package org.hl7.fhir.dstu2.model
Class ImplementationGuide.ImplementationGuidePackageResourceComponent
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.Element
-
- org.hl7.fhir.dstu2.model.BackboneElement
-
- org.hl7.fhir.dstu2.model.ImplementationGuide.ImplementationGuidePackageResourceComponent
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseBackboneElement,org.hl7.fhir.instance.model.api.IBaseElement,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
- Enclosing class:
- ImplementationGuide
public static class ImplementationGuide.ImplementationGuidePackageResourceComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringTypeacronymA short code that may be used to identify the resource throughout the implementation guide.protected StringTypedescriptionA description of the reason that a resource has been included in the implementation guide.protected ReferenceexampleForAnother resource that this resource is an example for.protected StructureDefinitionexampleForTargetThe actual object that is the target of the reference (Another resource that this resource is an example for.protected StringTypenameA human assigned name for the resource.protected Enumeration<ImplementationGuide.GuideResourcePurpose>purposeWhy the resource is included in the guide.protected TypesourceWhere this resource is found.-
Fields inherited from class org.hl7.fhir.dstu2.model.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ImplementationGuidePackageResourceComponent()ImplementationGuidePackageResourceComponent(Enumeration<ImplementationGuide.GuideResourcePurpose> purpose, Type source)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, hasModifierExtension
-
Methods inherited from class org.hl7.fhir.dstu2.model.Element
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElement
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
-
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
getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement
getUserData, setUserData
-
-
-
-
Field Detail
-
purpose
protected Enumeration<ImplementationGuide.GuideResourcePurpose> purpose
Why the resource is included in the guide.
-
name
protected StringType name
A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
-
description
protected StringType description
A description of the reason that a resource has been included in the implementation guide.
-
acronym
protected StringType acronym
A short code that may be used to identify the resource throughout the implementation guide.
-
exampleFor
protected Reference exampleFor
Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.
-
exampleForTarget
protected StructureDefinition exampleForTarget
The actual object that is the target of the reference (Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.)
-
-
Constructor Detail
-
ImplementationGuidePackageResourceComponent
public ImplementationGuidePackageResourceComponent()
-
ImplementationGuidePackageResourceComponent
public ImplementationGuidePackageResourceComponent(Enumeration<ImplementationGuide.GuideResourcePurpose> purpose, Type source)
-
-
Method Detail
-
getPurposeElement
public Enumeration<ImplementationGuide.GuideResourcePurpose> getPurposeElement()
- Returns:
purpose(Why the resource is included in the guide.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
hasPurposeElement
public boolean hasPurposeElement()
-
hasPurpose
public boolean hasPurpose()
-
setPurposeElement
public ImplementationGuide.ImplementationGuidePackageResourceComponent setPurposeElement(Enumeration<ImplementationGuide.GuideResourcePurpose> value)
- Parameters:
value-purpose(Why the resource is included in the guide.). This is the underlying object with id, value and extensions. The accessor "getPurpose" gives direct access to the value
-
getPurpose
public ImplementationGuide.GuideResourcePurpose getPurpose()
- Returns:
- Why the resource is included in the guide.
-
setPurpose
public ImplementationGuide.ImplementationGuidePackageResourceComponent setPurpose(ImplementationGuide.GuideResourcePurpose value)
- Parameters:
value- Why the resource is included in the guide.
-
getNameElement
public StringType getNameElement()
- Returns:
name(A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
public boolean hasNameElement()
-
hasName
public boolean hasName()
-
setNameElement
public ImplementationGuide.ImplementationGuidePackageResourceComponent setNameElement(StringType value)
- Parameters:
value-name(A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
public String getName()
- Returns:
- A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
-
setName
public ImplementationGuide.ImplementationGuidePackageResourceComponent setName(String value)
- Parameters:
value- A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name).
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public ImplementationGuide.ImplementationGuidePackageResourceComponent setDescriptionElement(StringType value)
- Parameters:
value-description(A description of the reason that a resource has been included in the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- A description of the reason that a resource has been included in the implementation guide.
-
setDescription
public ImplementationGuide.ImplementationGuidePackageResourceComponent setDescription(String value)
- Parameters:
value- A description of the reason that a resource has been included in the implementation guide.
-
getAcronymElement
public StringType getAcronymElement()
- Returns:
acronym(A short code that may be used to identify the resource throughout the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getAcronym" gives direct access to the value
-
hasAcronymElement
public boolean hasAcronymElement()
-
hasAcronym
public boolean hasAcronym()
-
setAcronymElement
public ImplementationGuide.ImplementationGuidePackageResourceComponent setAcronymElement(StringType value)
- Parameters:
value-acronym(A short code that may be used to identify the resource throughout the implementation guide.). This is the underlying object with id, value and extensions. The accessor "getAcronym" gives direct access to the value
-
getAcronym
public String getAcronym()
- Returns:
- A short code that may be used to identify the resource throughout the implementation guide.
-
setAcronym
public ImplementationGuide.ImplementationGuidePackageResourceComponent setAcronym(String value)
- Parameters:
value- A short code that may be used to identify the resource throughout the implementation guide.
-
getSourceUriType
public UriType getSourceUriType() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
source(Where this resource is found.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSourceUriType
public boolean hasSourceUriType()
-
getSourceReference
public Reference getSourceReference() throws org.hl7.fhir.exceptions.FHIRException
- Returns:
source(Where this resource is found.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasSourceReference
public boolean hasSourceReference()
-
hasSource
public boolean hasSource()
-
setSource
public ImplementationGuide.ImplementationGuidePackageResourceComponent setSource(Type value)
- Parameters:
value-source(Where this resource is found.)
-
getExampleFor
public Reference getExampleFor()
- Returns:
exampleFor(Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.)
-
hasExampleFor
public boolean hasExampleFor()
-
setExampleFor
public ImplementationGuide.ImplementationGuidePackageResourceComponent setExampleFor(Reference value)
- Parameters:
value-exampleFor(Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.)
-
getExampleForTarget
public StructureDefinition getExampleForTarget()
- Returns:
exampleForThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.)
-
setExampleForTarget
public ImplementationGuide.ImplementationGuidePackageResourceComponent setExampleForTarget(StructureDefinition value)
- Parameters:
value-exampleForThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Another resource that this resource is an example for. This is mostly used for resources that are included as examples of StructureDefinitions.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classBackboneElement
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classBackboneElement- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
public ImplementationGuide.ImplementationGuidePackageResourceComponent copy()
- Specified by:
copyin classBackboneElement
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classBackboneElement
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classBackboneElement
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classBackboneElement
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classBackboneElement
-
-