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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Actor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddRole()Adds and returns a new value for role ()Contract.ActoraddRole(CodeableConceptDt theValue)Adds a given new value for role ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ResourceReferenceDtgetEntity()Gets the value(s) for entity ().List<CodeableConceptDt>getRole()Gets the value(s) for role ().CodeableConceptDtgetRoleFirstRep()Gets the first repetition for role (), creating it if it does not already exist.booleanisEmpty()Contract.ActorsetEntity(ResourceReferenceDt theValue)Sets the value(s) for entity ()Contract.ActorsetRole(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
-
-
-
-
Constructor Detail
-
Actor
public Actor()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getEntity
public ResourceReferenceDt 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
public Contract.Actor setEntity(ResourceReferenceDt theValue)
Sets the value(s) for entity ()Definition: Who or what actors are assigned roles in this Contract.
-
getRole
public List<CodeableConceptDt> 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
public Contract.Actor setRole(List<CodeableConceptDt> theValue)
Sets the value(s) for role ()Definition: Role type of actors assigned roles in this Contract.
-
addRole
public CodeableConceptDt addRole()
Adds and returns a new value for role ()Definition: Role type of actors assigned roles in this Contract.
-
addRole
public Contract.Actor addRole(CodeableConceptDt theValue)
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
public CodeableConceptDt 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.
-
-