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

public class ItemType extends Object

Java class for ItemType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ItemType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}item" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.decoderdb.de/schema/commonTypes/1.2}ValueCalculationItemType" />
       <attribute name="value" type="{http://www.decoderdb.de/schema/commonTypes/1.2}itemValueTypes" />
       <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
       <attribute name="indexHigh" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
       <attribute name="indexLow" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ItemType

      public ItemType()
  • Method Details

    • getContent

      public List<Serializable> getContent()
      Gets the value of the content 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 content property.

      For example, to add a new item, do as follows:

          getContent().add(newItem);
       

      Objects of the following type(s) are allowed in the list String JAXBElement<ItemType>

    • getType

      public ValueCalculationItemType getType()
      Gets the value of the type property.
      Returns:
      possible object is ValueCalculationItemType
    • setType

      public void setType(ValueCalculationItemType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is ValueCalculationItemType
    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getNumber

      public Integer getNumber()
      Gets the value of the number property.
      Returns:
      possible object is Integer
    • setNumber

      public void setNumber(Integer value)
      Sets the value of the number property.
      Parameters:
      value - allowed object is Integer
    • getIndexHigh

      public Short getIndexHigh()
      Gets the value of the indexHigh property.
      Returns:
      possible object is Short
    • setIndexHigh

      public void setIndexHigh(Short value)
      Sets the value of the indexHigh property.
      Parameters:
      value - allowed object is Short
    • getIndexLow

      public Short getIndexLow()
      Gets the value of the indexLow property.
      Returns:
      possible object is Short
    • setIndexLow

      public void setIndexLow(Short value)
      Sets the value of the indexLow 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
    • withContent

      public ItemType withContent(Serializable... values)
    • withContent

      public ItemType withContent(Collection<Serializable> values)
    • withType

      public ItemType withType(ValueCalculationItemType value)
    • withValue

      public ItemType withValue(String value)
    • withNumber

      public ItemType withNumber(Integer value)
    • withIndexHigh

      public ItemType withIndexHigh(Short value)
    • withIndexLow

      public ItemType withIndexLow(Short value)