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.decoderdb.de/schema/commonTypes/1.2}item" maxOccurs="unbounded"/>
<element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}specialValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="unit" type="{http://www.decoderdb.de/schema/commonTypes/1.2}UnitType" />
<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 List<ItemType> |
item |
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.
|
List<ItemType> |
getItem()
Gets the value of the item 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 |
setUnit(String value)
Sets the value of the unit property.
|
String |
toString() |
ValueCalculationType |
withDigits(Short value) |
ValueCalculationType |
withItem(Collection<ItemType> values) |
ValueCalculationType |
withItem(ItemType... values) |
ValueCalculationType |
withSpecialValue(Collection<SpecialValueType> values) |
ValueCalculationType |
withSpecialValue(SpecialValueType... values) |
ValueCalculationType |
withUnit(String value) |
protected List<SpecialValueType> specialValue
protected String unit
protected Short digits
public List<ItemType> getItem()
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 item property.
For example, to add a new item, do as follows:
getItem().add(newItem);
Objects of the following type(s) are allowed in the list
ItemType
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 Short getDigits()
Shortpublic void setDigits(Short value)
value - allowed object is
Shortpublic ValueCalculationType withItem(ItemType... values)
public ValueCalculationType withItem(Collection<ItemType> values)
public ValueCalculationType withSpecialValue(SpecialValueType... values)
public ValueCalculationType withSpecialValue(Collection<SpecialValueType> values)
public ValueCalculationType withUnit(String value)
public ValueCalculationType withDigits(Short value)
Copyright © 2021. All rights reserved.