public class Ratio extends Element implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Ratio complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Ratio">
<complexContent>
<extension base="{http://hl7.org/fhir}Element">
<sequence>
<element name="numerator" type="{http://hl7.org/fhir}Quantity" minOccurs="0"/>
<element name="denominator" type="{http://hl7.org/fhir}Quantity" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Quantity |
denominator |
protected Quantity |
numerator |
| Constructor and Description |
|---|
Ratio() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
Quantity |
getDenominator()
Gets the value of the denominator property.
|
Quantity |
getNumerator()
Gets the value of the numerator property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDenominator(Quantity value)
Sets the value of the denominator property.
|
void |
setNumerator(Quantity value)
Sets the value of the numerator property.
|
java.lang.String |
toString() |
Ratio |
withDenominator(Quantity value) |
Ratio |
withExtension(java.util.Collection<Extension> values) |
Ratio |
withExtension(Extension... values) |
Ratio |
withId(java.lang.String value) |
Ratio |
withNumerator(Quantity value) |
getExtension, getId, setIdpublic Quantity getNumerator()
Quantitypublic void setNumerator(Quantity value)
value - allowed object is
Quantitypublic Quantity getDenominator()
Quantitypublic void setDenominator(Quantity value)
value - allowed object is
Quantitypublic Ratio withExtension(Extension... values)
withExtension in class Elementpublic Ratio withExtension(java.util.Collection<Extension> values)
withExtension in class Elementpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class Element