public class Ratio extends Type implements ICompositeType
| Constructor and Description |
|---|
Ratio() |
| Modifier and Type | Method and Description |
|---|---|
Ratio |
copy() |
boolean |
equalsDeep(Base other) |
boolean |
equalsShallow(Base other) |
Quantity |
getDenominator() |
Quantity |
getNumerator() |
boolean |
hasDenominator() |
boolean |
hasNumerator() |
boolean |
isEmpty() |
Ratio |
setDenominator(Quantity value) |
Ratio |
setNumerator(Quantity value) |
addExtension, addExtension, copyValues, getExtension, getExtensionsByUrl, getId, getIdElement, hasExtension, hasId, hasIdElement, setId, setIdElementchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNpublic boolean hasNumerator()
public Ratio setNumerator(Quantity value)
value - numerator (The value of the numerator.)public Quantity getDenominator()
denominator (The value of the denominator.)public boolean hasDenominator()
public Ratio setDenominator(Quantity value)
value - denominator (The value of the denominator.)public boolean equalsDeep(Base other)
equalsDeep in class Elementpublic boolean equalsShallow(Base other)
equalsShallow in class ElementCopyright © 2014–2015 University Health Network. All rights reserved.