public class ParameterDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterDefinition.ParameterUse |
static class |
ParameterDefinition.ParameterUseEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
documentation
A brief discussion of what the parameter is for and how it is used by the module.
|
protected StringType |
max
The maximum number of times this element is permitted to appear in the request or response.
|
protected IntegerType |
min
The minimum number of times this parameter SHALL appear in the request or response.
|
protected CodeType |
name
The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
|
protected CanonicalType |
profile
If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
|
protected CodeType |
type
The type of the parameter.
|
protected Enumeration<ParameterDefinition.ParameterUse> |
use
Whether the parameter is input or output for the module.
|
| Constructor and Description |
|---|
ParameterDefinition()
Constructor
|
ParameterDefinition(Enumeration<ParameterDefinition.ParameterUse> use,
CodeType type)
Constructor
|
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, removeExtension, setDisallowExtensions, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected CodeType name
protected Enumeration<ParameterDefinition.ParameterUse> use
protected IntegerType min
protected StringType max
protected StringType documentation
protected CanonicalType profile
public ParameterDefinition()
public ParameterDefinition(Enumeration<ParameterDefinition.ParameterUse> use, CodeType type)
public CodeType getNameElement()
name (The name of the parameter used to allow access to the value of the parameter in evaluation contexts.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic boolean hasNameElement()
public boolean hasName()
public ParameterDefinition setNameElement(CodeType value)
value - name (The name of the parameter used to allow access to the value of the parameter in evaluation contexts.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic String getName()
public ParameterDefinition setName(String value)
value - The name of the parameter used to allow access to the value of the parameter in evaluation contexts.public Enumeration<ParameterDefinition.ParameterUse> getUseElement()
use (Whether the parameter is input or output for the module.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic boolean hasUseElement()
public boolean hasUse()
public ParameterDefinition setUseElement(Enumeration<ParameterDefinition.ParameterUse> value)
value - use (Whether the parameter is input or output for the module.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the valuepublic ParameterDefinition.ParameterUse getUse()
public ParameterDefinition setUse(ParameterDefinition.ParameterUse value)
value - Whether the parameter is input or output for the module.public IntegerType getMinElement()
min (The minimum number of times this parameter SHALL appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the valuepublic boolean hasMinElement()
public boolean hasMin()
public ParameterDefinition setMinElement(IntegerType value)
value - min (The minimum number of times this parameter SHALL appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMin" gives direct access to the valuepublic int getMin()
public ParameterDefinition setMin(int value)
value - The minimum number of times this parameter SHALL appear in the request or response.public StringType getMaxElement()
max (The maximum number of times this element is permitted to appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the valuepublic boolean hasMaxElement()
public boolean hasMax()
public ParameterDefinition setMaxElement(StringType value)
value - max (The maximum number of times this element is permitted to appear in the request or response.). This is the underlying object with id, value and extensions. The accessor "getMax" gives direct access to the valuepublic String getMax()
public ParameterDefinition setMax(String value)
value - The maximum number of times this element is permitted to appear in the request or response.public StringType getDocumentationElement()
documentation (A brief discussion of what the parameter is for and how it is used by the module.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the valuepublic boolean hasDocumentationElement()
public boolean hasDocumentation()
public ParameterDefinition setDocumentationElement(StringType value)
value - documentation (A brief discussion of what the parameter is for and how it is used by the module.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the valuepublic String getDocumentation()
public ParameterDefinition setDocumentation(String value)
value - A brief discussion of what the parameter is for and how it is used by the module.public CodeType getTypeElement()
type (The type of the parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic boolean hasTypeElement()
public boolean hasType()
public ParameterDefinition setTypeElement(CodeType value)
value - type (The type of the parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the valuepublic ParameterDefinition setType(String value)
value - The type of the parameter.public CanonicalType getProfileElement()
profile (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the valuepublic boolean hasProfileElement()
public boolean hasProfile()
public ParameterDefinition setProfileElement(CanonicalType value)
value - profile (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.). This is the underlying object with id, value and extensions. The accessor "getProfile" gives direct access to the valuepublic String getProfile()
public ParameterDefinition setProfile(String value)
value - If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.protected void listChildren(List<Property> children)
listChildren in class Elementpublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic ParameterDefinition copy()
public void copyValues(ParameterDefinition dst)
protected ParameterDefinition typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class Elementpublic boolean equalsShallow(Base other_)
equalsShallow in class ElementCopyright © 2014–2021 Health Level 7. All rights reserved.