Class ValueCalculationType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.ValueCalculationType
-
public class ValueCalculationType extends Object
<p>Java class for ValueCalculationType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <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> </pre>
-
-
Field Summary
Fields Modifier and Type Field Description protected Shortdigitsprotected List<ItemType>itemprotected List<SpecialValueType>specialValueprotected Stringunit
-
Constructor Summary
Constructors Constructor Description ValueCalculationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)ShortgetDigits()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.StringgetUnit()Gets the value of the unit property.inthashCode()voidsetDigits(Short value)Sets the value of the digits property.voidsetUnit(String value)Sets the value of the unit property.StringtoString()ValueCalculationTypewithDigits(Short value)ValueCalculationTypewithItem(Collection<ItemType> values)ValueCalculationTypewithItem(ItemType... values)ValueCalculationTypewithSpecialValue(Collection<SpecialValueType> values)ValueCalculationTypewithSpecialValue(SpecialValueType... values)ValueCalculationTypewithUnit(String value)
-
-
-
Method Detail
-
getItem
public List<ItemType> getItem()
Gets the value of the item property. <p> 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 <CODE>set</CODE> method for the item property. <p> For example, to add a new item, do as follows: <pre> getItem().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listItemType
-
getSpecialValue
public List<SpecialValueType> getSpecialValue()
Gets the value of the specialValue property. <p> 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 <CODE>set</CODE> method for the specialValue property. <p> For example, to add a new item, do as follows: <pre> getSpecialValue().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listSpecialValueType
-
getUnit
public String getUnit()
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
public void setUnit(String value)
Sets the value of the unit property.- Parameters:
value- allowed object isString
-
getDigits
public Short getDigits()
Gets the value of the digits property.- Returns:
- possible object is
Short
-
setDigits
public void setDigits(Short value)
Sets the value of the digits property.- Parameters:
value- allowed object isShort
-
withItem
public ValueCalculationType withItem(ItemType... values)
-
withItem
public ValueCalculationType withItem(Collection<ItemType> values)
-
withSpecialValue
public ValueCalculationType withSpecialValue(SpecialValueType... values)
-
withSpecialValue
public ValueCalculationType withSpecialValue(Collection<SpecialValueType> values)
-
withUnit
public ValueCalculationType withUnit(String value)
-
withDigits
public ValueCalculationType withDigits(Short value)
-
-