public class ParameterDefinition extends Type implements 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 Reference |
profile
If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
|
protected StructureDefinition |
profileTarget
The actual object that is the target of the reference (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, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElementcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected CodeType name
protected Enumeration<ParameterDefinition.ParameterUse> use
protected IntegerType min
protected StringType max
protected StringType documentation
protected Reference profile
protected StructureDefinition profileTarget
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 Reference getProfile()
profile (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.)public boolean hasProfile()
public ParameterDefinition setProfile(Reference value)
value - profile (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.)public StructureDefinition getProfileTarget()
profile The 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. (If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.)public ParameterDefinition setProfileTarget(StructureDefinition value)
value - profile The 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. (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> childrenList)
listChildren in class Elementpublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class ElementFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class ElementFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class ElementFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class ElementFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class ElementFHIRExceptionpublic ParameterDefinition copy()
protected ParameterDefinition typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2017 University Health Network. All rights reserved.