Class ValueCalculationType

java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.ValueCalculationType

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>
 
  • Field Details

  • Constructor Details

    • ValueCalculationType

      public ValueCalculationType()
  • Method Details

    • getItem

      public List<ItemType> 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 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

    • getSpecialValue

      public List<SpecialValueType> 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 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

    • 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 is String
    • 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 is Short
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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)