Class ValueCalculationType
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Shortprotected List<SpecialValueType> protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the digits property.getItem()Gets the value of the item property.Gets the value of the specialValue property.getUnit()Gets the value of the unit property.inthashCode()voidSets the value of the digits property.voidSets the value of the unit property.toString()withDigits(Short value) withItem(Collection<ItemType> values) withSpecialValue(Collection<SpecialValueType> values) withSpecialValue(SpecialValueType... values)
-
Field Details
-
item
-
specialValue
-
unit
-
digits
-
-
Constructor Details
-
ValueCalculationType
public ValueCalculationType()
-
-
Method Details
-
getItem
Gets the value of the item property.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
setmethod 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 -
getSpecialValue
Gets the value of the specialValue property.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
setmethod 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 -
getUnit
Gets the value of the unit property.- Returns:
- possible object is
String
-
setUnit
Sets the value of the unit property.- Parameters:
value- allowed object isString
-
getDigits
Gets the value of the digits property.- Returns:
- possible object is
Short
-
setDigits
Sets the value of the digits property.- Parameters:
value- allowed object isShort
-
toString
-
equals
-
hashCode
public int hashCode() -
withItem
-
withItem
-
withSpecialValue
-
withSpecialValue
-
withUnit
-
withDigits
-