Package ca.uhn.fhir.model.dstu2.resource
Class Contract.Actor
java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Contract.Actor
- 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.Actor
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Contract.actor ()
Definition: List of Contract actors
- 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
-
Actor
public Actor()
-
-
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: Who or what actors are assigned roles in this Contract.
-
setEntity
Sets the value(s) for entity ()Definition: Who or what actors are assigned roles in this Contract.
-
getRole
Gets the value(s) for role (). creating it if it does not exist. Will not returnnull
.Definition: Role type of actors assigned roles in this Contract.
-
setRole
Sets the value(s) for role ()Definition: Role type of actors assigned roles in this Contract.
-
addRole
Adds and returns a new value for role ()Definition: Role type of actors assigned roles in this Contract.
-
addRole
Adds a given new value for role ()Definition: Role type of actors assigned roles in this Contract.
- 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 type of actors assigned roles in this Contract.
-