public class ValueCalculationType extends Object
Java class for ValueCalculationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ValueCalculationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.bidib.org/schema/commonTypes/1.0}specialValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="unit" type="{http://www.bidib.org/schema/commonTypes/1.0}UnitType" />
<attribute name="numerator" type="{http://www.bidib.org/schema/commonTypes/1.0}unsignedShortNotNull" />
<attribute name="multiplier" type="{http://www.bidib.org/schema/commonTypes/1.0}unsignedShortNotNull" />
<attribute name="divider" type="{http://www.bidib.org/schema/commonTypes/1.0}unsignedShortNotNull" />
<attribute name="offset" type="{http://www.w3.org/2001/XMLSchema}short" />
<attribute name="formulaReference" type="{http://www.bidib.org/schema/commonTypes/1.0}tokenNotEmpty" />
<attribute name="digits">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}unsignedByte">
<minInclusive value="1"/>
<maxInclusive value="3"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Short |
digits |
protected Integer |
divider |
protected String |
formulaReference |
protected Integer |
multiplier |
protected Integer |
numerator |
protected Short |
offset |
protected List<SpecialValueType> |
specialValue |
protected String |
unit |
| Constructor and Description |
|---|
ValueCalculationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Short |
getDigits()
Gets the value of the digits property.
|
Integer |
getDivider()
Gets the value of the divider property.
|
String |
getFormulaReference()
Gets the value of the formulaReference property.
|
Integer |
getMultiplier()
Gets the value of the multiplier property.
|
Integer |
getNumerator()
Gets the value of the numerator property.
|
Short |
getOffset()
Gets the value of the offset property.
|
List<SpecialValueType> |
getSpecialValue()
Gets the value of the specialValue property.
|
String |
getUnit()
Gets the value of the unit property.
|
int |
hashCode() |
void |
setDigits(Short value)
Sets the value of the digits property.
|
void |
setDivider(Integer value)
Sets the value of the divider property.
|
void |
setFormulaReference(String value)
Sets the value of the formulaReference property.
|
void |
setMultiplier(Integer value)
Sets the value of the multiplier property.
|
void |
setNumerator(Integer value)
Sets the value of the numerator property.
|
void |
setOffset(Short value)
Sets the value of the offset property.
|
void |
setUnit(String value)
Sets the value of the unit property.
|
String |
toString() |
ValueCalculationType |
withDigits(Short value) |
ValueCalculationType |
withDivider(Integer value) |
ValueCalculationType |
withFormulaReference(String value) |
ValueCalculationType |
withMultiplier(Integer value) |
ValueCalculationType |
withNumerator(Integer value) |
ValueCalculationType |
withOffset(Short value) |
ValueCalculationType |
withSpecialValue(Collection<SpecialValueType> values) |
ValueCalculationType |
withSpecialValue(SpecialValueType... values) |
ValueCalculationType |
withUnit(String value) |
protected List<SpecialValueType> specialValue
protected String unit
protected Integer numerator
protected Integer multiplier
protected Integer divider
protected Short offset
protected String formulaReference
protected Short digits
public List<SpecialValueType> getSpecialValue()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the specialValue property.
For example, to add a new item, do as follows:
getSpecialValue().add(newItem);
Objects of the following type(s) are allowed in the list
SpecialValueType
public String getUnit()
Stringpublic void setUnit(String value)
value - allowed object is
Stringpublic Integer getNumerator()
Integerpublic void setNumerator(Integer value)
value - allowed object is
Integerpublic Integer getMultiplier()
Integerpublic void setMultiplier(Integer value)
value - allowed object is
Integerpublic Integer getDivider()
Integerpublic void setDivider(Integer value)
value - allowed object is
Integerpublic Short getOffset()
Shortpublic void setOffset(Short value)
value - allowed object is
Shortpublic String getFormulaReference()
Stringpublic void setFormulaReference(String value)
value - allowed object is
Stringpublic Short getDigits()
Shortpublic void setDigits(Short value)
value - allowed object is
Shortpublic ValueCalculationType withSpecialValue(SpecialValueType... values)
public ValueCalculationType withSpecialValue(Collection<SpecialValueType> values)
public ValueCalculationType withUnit(String value)
public ValueCalculationType withNumerator(Integer value)
public ValueCalculationType withMultiplier(Integer value)
public ValueCalculationType withDivider(Integer value)
public ValueCalculationType withOffset(Short value)
public ValueCalculationType withFormulaReference(String value)
public ValueCalculationType withDigits(Short value)
Copyright © 2018. All rights reserved.