Class ItemType
- 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>
-
-
Constructor Summary
Constructors Constructor Description ItemType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<Serializable>getContent()Gets the value of the content property.ShortgetIndexHigh()Gets the value of the indexHigh property.ShortgetIndexLow()Gets the value of the indexLow property.IntegergetNumber()Gets the value of the number property.ValueCalculationItemTypegetType()Gets the value of the type property.StringgetValue()Gets the value of the value property.inthashCode()voidsetIndexHigh(Short value)Sets the value of the indexHigh property.voidsetIndexLow(Short value)Sets the value of the indexLow property.voidsetNumber(Integer value)Sets the value of the number property.voidsetType(ValueCalculationItemType value)Sets the value of the type property.voidsetValue(String value)Sets the value of the value property.StringtoString()ItemTypewithContent(Serializable... values)ItemTypewithContent(Collection<Serializable> values)ItemTypewithIndexHigh(Short value)ItemTypewithIndexLow(Short value)ItemTypewithNumber(Integer value)ItemTypewithType(ValueCalculationItemType value)ItemTypewithValue(String value)
-
-
-
Field Detail
-
content
protected List<Serializable> content
-
type
protected ValueCalculationItemType type
-
value
protected String value
-
number
protected Integer number
-
indexHigh
protected Short indexHigh
-
indexLow
protected Short indexLow
-
-
Method Detail
-
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
setmethod 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
StringJAXBElement<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 isValueCalculationItemType
-
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 isString
-
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 isInteger
-
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 isShort
-
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 isShort
-
withContent
public ItemType withContent(Serializable... values)
-
withContent
public ItemType withContent(Collection<Serializable> values)
-
withType
public ItemType withType(ValueCalculationItemType value)
-
-