public class ParameterDefinition extends Type implements org.hl7.fhir.instance.model.api.ICompositeType
| 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.
|
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 CodeType |
use
Whether the parameter is input or output for the module.
|
| Constructor and Description |
|---|
ParameterDefinition()
Constructor
|
ParameterDefinition(CodeType use,
CodeType type)
Constructor
|
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getExtensionString, getId, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setId, setIdElementcastToActionDefinition, castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToModuleMetadata, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNprotected IntegerType min
protected StringType max
protected StringType documentation
protected Reference profile
protected StructureDefinition profileTarget
public ParameterDefinition()
public ParameterDefinition(CodeType use, CodeType type)
public CodeType getNameElement()
name (The name of the parameter.). 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.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the valuepublic ParameterDefinition setName(String value)
value - The name of the parameter.public CodeType 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(CodeType 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 setUse(String 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 org.hl7.fhir.exceptions.FHIRException
getProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class Elementorg.hl7.fhir.exceptions.FHIRExceptionpublic void 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 ParameterDefinition copy()
protected ParameterDefinition typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2018 University Health Network. All rights reserved.