public static class Specimen.Source extends BaseIdentifiableElement implements IResourceBlock
Definition: Parent specimen from which the focal specimen was a component
| Constructor and Description |
|---|
Specimen.Source() |
| Modifier and Type | Method and Description |
|---|---|
ResourceReferenceDt |
addTarget()
Adds and returns a new value for target (The subject of the relationship)
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
BoundCodeDt<HierarchicalRelationshipTypeEnum> |
getRelationship()
Gets the value(s) for relationship (parent | child).
|
List<ResourceReferenceDt> |
getTarget()
Gets the value(s) for target (The subject of the relationship).
|
boolean |
isEmpty() |
Specimen.Source |
setRelationship(BoundCodeDt<HierarchicalRelationshipTypeEnum> theValue)
Sets the value(s) for relationship (parent | child)
|
Specimen.Source |
setRelationship(HierarchicalRelationshipTypeEnum theValue)
Sets the value(s) for relationship (parent | child)
|
Specimen.Source |
setTarget(List<ResourceReferenceDt> theValue)
Sets the value(s) for target (The subject of the relationship)
|
getElementSpecificId, getId, setElementSpecificId, setId, setIdaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, isBaseEmptyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementSpecificId, getId, setElementSpecificId, setId, setIdpublic <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic BoundCodeDt<HierarchicalRelationshipTypeEnum> getRelationship()
null.
Definition: Whether this relationship is to a parent or to a child
public Specimen.Source setRelationship(BoundCodeDt<HierarchicalRelationshipTypeEnum> theValue)
Definition: Whether this relationship is to a parent or to a child
public Specimen.Source setRelationship(HierarchicalRelationshipTypeEnum theValue)
Definition: Whether this relationship is to a parent or to a child
public List<ResourceReferenceDt> getTarget()
null.
Definition: The specimen resource that is the target of this relationship
public Specimen.Source setTarget(List<ResourceReferenceDt> theValue)
Definition: The specimen resource that is the target of this relationship
public ResourceReferenceDt addTarget()
Definition: The specimen resource that is the target of this relationship
Copyright © 2014 University Health Network. All rights reserved.