Package org.hl7.fhir.dstu3.model
Class OperationDefinition.OperationDefinitionParameterComponent
java.lang.Object
org.hl7.fhir.dstu3.model.Base
org.hl7.fhir.dstu3.model.Element
org.hl7.fhir.dstu3.model.BackboneElement
org.hl7.fhir.dstu3.model.OperationDefinition.OperationDefinitionParameterComponent
- 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:
OperationDefinition
public static class OperationDefinition.OperationDefinitionParameterComponent
extends BackboneElement
implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionBinds to a value set if this parameter is coded (code, Coding, CodeableConcept).protected StringType
Describes the meaning or use of this parameter.protected StringType
The maximum number of times this element is permitted to appear in the request or response.protected IntegerType
The minimum number of times this parameter SHALL appear in the request or response.protected CodeType
The name of used to identify the parameter.The parts of a nested Parameter.protected Reference
A profile the specifies the rules that this parameter must conform to.protected StructureDefinition
The actual object that is the target of the reference (A profile the specifies the rules that this parameter must conform to.)protected Enumeration
<Enumerations.SearchParamType> How the parameter is understood as a search parameter.protected CodeType
The type for this parameter.Whether this is an input or an output parameter.Fields inherited from class org.hl7.fhir.dstu3.model.BackboneElement
modifierExtension
-
Constructor Summary
ConstructorDescriptionConstructorOperationDefinitionParameterComponent
(CodeType name, Enumeration<OperationDefinition.OperationParameterUse> use, IntegerType min, StringType max) Constructor -
Method Summary
Modifier and TypeMethodDescriptionaddPart()
copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getMax()
int
getMin()
getName()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getPart()
Base[]
getProperty
(int hash, String name, boolean checkValid) getType()
String[]
getTypesForProperty
(int hash, String name) getUse()
boolean
boolean
boolean
boolean
hasMax()
boolean
boolean
hasMin()
boolean
boolean
hasName()
boolean
boolean
hasPart()
boolean
boolean
boolean
boolean
hasType()
boolean
boolean
hasUse()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setDocumentation
(String value) setMaxElement
(StringType value) setMin
(int value) setMinElement
(IntegerType value) setNameElement
(CodeType value) setProfile
(Reference value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setTypeElement
(CodeType value) Methods inherited from class org.hl7.fhir.dstu3.model.BackboneElement
addModifierExtension, addModifierExtension, copyValues, getModifierExtension, getModifierExtensionFirstRep, hasModifierExtension, setModifierExtension
Methods inherited from class org.hl7.fhir.dstu3.model.Element
addExtension, addExtension, addExtension, copyValues, getExtension, getExtensionByUrl, getExtensionFirstRep, getExtensionsByUrl, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, setExtension, setId, setIdBase, setIdElement
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, isResource, listChildrenByName, 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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions
addExtension, getExtension, hasExtension
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
addModifierExtension, getModifierExtension, hasModifierExtension
-
Field Details
-
name
The name of used to identify the parameter. -
use
Whether this is an input or an output parameter. -
min
The minimum number of times this parameter SHALL appear in the request or response. -
max
The maximum number of times this element is permitted to appear in the request or response. -
documentation
Describes the meaning or use of this parameter. -
type
The type for this parameter. -
searchType
How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'. -
profile
A profile the specifies the rules that this parameter must conform to. -
profileTarget
The actual object that is the target of the reference (A profile the specifies the rules that this parameter must conform to.) -
binding
Binds to a value set if this parameter is coded (code, Coding, CodeableConcept). -
part
The parts of a nested Parameter.
-
-
Constructor Details
-
OperationDefinitionParameterComponent
Constructor -
OperationDefinitionParameterComponent
public OperationDefinitionParameterComponent(CodeType name, Enumeration<OperationDefinition.OperationParameterUse> use, IntegerType min, StringType max) Constructor
-
-
Method Details
-
getNameElement
- Returns:
name
(The name of used to identify the parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value
-name
(The name of used to identify the parameter.). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- The name of used to identify the parameter.
-
setName
- Parameters:
value
- The name of used to identify the parameter.
-
getUseElement
- Returns:
use
(Whether this is an input or an output parameter.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
hasUseElement
-
hasUse
-
setUseElement
public OperationDefinition.OperationDefinitionParameterComponent setUseElement(Enumeration<OperationDefinition.OperationParameterUse> value) - Parameters:
value
-use
(Whether this is an input or an output parameter.). This is the underlying object with id, value and extensions. The accessor "getUse" gives direct access to the value
-
getUse
- Returns:
- Whether this is an input or an output parameter.
-
setUse
public OperationDefinition.OperationDefinitionParameterComponent setUse(OperationDefinition.OperationParameterUse value) - Parameters:
value
- Whether this is an input or an output parameter.
-
getMinElement
- Returns:
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 value
-
hasMinElement
-
hasMin
-
setMinElement
- Parameters:
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 value
-
getMin
- Returns:
- The minimum number of times this parameter SHALL appear in the request or response.
-
setMin
- Parameters:
value
- The minimum number of times this parameter SHALL appear in the request or response.
-
getMaxElement
- Returns:
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 value
-
hasMaxElement
-
hasMax
-
setMaxElement
- Parameters:
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 value
-
getMax
- Returns:
- The maximum number of times this element is permitted to appear in the request or response.
-
setMax
- Parameters:
value
- The maximum number of times this element is permitted to appear in the request or response.
-
getDocumentationElement
- Returns:
documentation
(Describes the meaning or use of this parameter.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
hasDocumentationElement
-
hasDocumentation
-
setDocumentationElement
public OperationDefinition.OperationDefinitionParameterComponent setDocumentationElement(StringType value) - Parameters:
value
-documentation
(Describes the meaning or use of this parameter.). This is the underlying object with id, value and extensions. The accessor "getDocumentation" gives direct access to the value
-
getDocumentation
- Returns:
- Describes the meaning or use of this parameter.
-
setDocumentation
- Parameters:
value
- Describes the meaning or use of this parameter.
-
getTypeElement
- Returns:
type
(The type for this parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
hasTypeElement
-
hasType
-
setTypeElement
- Parameters:
value
-type
(The type for this parameter.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
-
getType
- Returns:
- The type for this parameter.
-
setType
- Parameters:
value
- The type for this parameter.
-
getSearchTypeElement
- Returns:
searchType
(How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.). This is the underlying object with id, value and extensions. The accessor "getSearchType" gives direct access to the value
-
hasSearchTypeElement
-
hasSearchType
-
setSearchTypeElement
public OperationDefinition.OperationDefinitionParameterComponent setSearchTypeElement(Enumeration<Enumerations.SearchParamType> value) - Parameters:
value
-searchType
(How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.). This is the underlying object with id, value and extensions. The accessor "getSearchType" gives direct access to the value
-
getSearchType
- Returns:
- How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.
-
setSearchType
public OperationDefinition.OperationDefinitionParameterComponent setSearchType(Enumerations.SearchParamType value) - Parameters:
value
- How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.
-
getProfile
- Returns:
profile
(A profile the specifies the rules that this parameter must conform to.)
-
hasProfile
-
setProfile
- Parameters:
value
-profile
(A profile the specifies the rules that this parameter must conform to.)
-
getProfileTarget
- Returns:
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. (A profile the specifies the rules that this parameter must conform to.)
-
setProfileTarget
public OperationDefinition.OperationDefinitionParameterComponent setProfileTarget(StructureDefinition value) - Parameters:
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. (A profile the specifies the rules that this parameter must conform to.)
-
getBinding
- Returns:
binding
(Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).)
-
hasBinding
-
setBinding
public OperationDefinition.OperationDefinitionParameterComponent setBinding(OperationDefinition.OperationDefinitionParameterBindingComponent value) - Parameters:
value
-binding
(Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).)
-
getPart
- Returns:
part
(The parts of a nested Parameter.)
-
setPart
public OperationDefinition.OperationDefinitionParameterComponent setPart(List<OperationDefinition.OperationDefinitionParameterComponent> thePart) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasPart
-
addPart
-
addPart
-
getPartFirstRep
- Returns:
- The first repetition of repeating field
part
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classBackboneElement
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classBackboneElement
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
copy
- Specified by:
copy
in classBackboneElement
-
equalsDeep
- Overrides:
equalsDeep
in classBackboneElement
-
equalsShallow
- Overrides:
equalsShallow
in classBackboneElement
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classBackboneElement
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classBackboneElement
-