public static class Substance.Ingredient extends BaseIdentifiableElement implements IResourceBlock
Definition: A substance can be composed of other substances
| Constructor and Description |
|---|
Ingredient() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
RatioDt |
getQuantity()
Gets the value(s) for quantity ().
|
ResourceReferenceDt |
getSubstance()
Gets the value(s) for substance ().
|
boolean |
isEmpty() |
Substance.Ingredient |
setQuantity(RatioDt theValue)
Sets the value(s) for quantity ()
|
Substance.Ingredient |
setSubstance(ResourceReferenceDt theValue)
Sets the value(s) for substance ()
|
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 Ingredient()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic RatioDt getQuantity()
null.
Definition: The amount of the ingredient in the substance - a concentration ratio
public Substance.Ingredient setQuantity(RatioDt theValue)
Definition: The amount of the ingredient in the substance - a concentration ratio
public ResourceReferenceDt getSubstance()
null.
Definition: Another substance that is a component of this substance
public Substance.Ingredient setSubstance(ResourceReferenceDt theValue)
Definition: Another substance that is a component of this substance
Copyright © 2014–2016 University Health Network. All rights reserved.