Package ca.uhn.fhir.model.dstu2.resource
Class Contract.TermActor
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Contract.TermActor
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IIdentifiableElement
,ca.uhn.fhir.model.api.IResourceBlock
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
Contract
public static class Contract.TermActor
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Contract.term.actor ()
Definition: List of actors participating in this Contract Provision.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddRole()
Adds and returns a new value for role ()addRole
(CodeableConceptDt theValue) Adds a given new value for role ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for entity ().getRole()
Gets the value(s) for role ().Gets the first repetition for role (), creating it if it does not already exist.boolean
isEmpty()
setEntity
(ResourceReferenceDt theValue) Sets the value(s) for entity ()setRole
(List<CodeableConceptDt> theValue) Sets the value(s) for role ()Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
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
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Constructor Details
-
TermActor
public TermActor()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getEntity
Gets the value(s) for entity (). creating it if it does not exist. Will not returnnull
.Definition: The actor assigned a role in this Contract Provision.
-
setEntity
Sets the value(s) for entity ()Definition: The actor assigned a role in this Contract Provision.
-
getRole
Gets the value(s) for role (). creating it if it does not exist. Will not returnnull
.Definition: Role played by the actor assigned this role in this Contract Provision.
-
setRole
Sets the value(s) for role ()Definition: Role played by the actor assigned this role in this Contract Provision.
-
addRole
Adds and returns a new value for role ()Definition: Role played by the actor assigned this role in this Contract Provision.
-
addRole
Adds a given new value for role ()Definition: Role played by the actor assigned this role in this Contract Provision.
- Parameters:
theValue
- The role to add (must not benull
)
-
getRoleFirstRep
Gets the first repetition for role (), creating it if it does not already exist.Definition: Role played by the actor assigned this role in this Contract Provision.
-