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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected Short |
indexHigh |
protected Short |
indexLow |
protected Integer |
number |
protected ValueCalculationItemType |
type |
protected String |
value |
| Constructor and Description |
|---|
ItemType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<Serializable> |
getContent()
Gets the value of the content property.
|
Short |
getIndexHigh()
Gets the value of the indexHigh property.
|
Short |
getIndexLow()
Gets the value of the indexLow property.
|
Integer |
getNumber()
Gets the value of the number property.
|
ValueCalculationItemType |
getType()
Gets the value of the type property.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
void |
setIndexHigh(Short value)
Sets the value of the indexHigh property.
|
void |
setIndexLow(Short value)
Sets the value of the indexLow property.
|
void |
setNumber(Integer value)
Sets the value of the number property.
|
void |
setType(ValueCalculationItemType value)
Sets the value of the type property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toString() |
ItemType |
withContent(Collection<Serializable> values) |
ItemType |
withContent(Serializable... values) |
ItemType |
withIndexHigh(Short value) |
ItemType |
withIndexLow(Short value) |
ItemType |
withNumber(Integer value) |
ItemType |
withType(ValueCalculationItemType value) |
ItemType |
withValue(String value) |
protected List<Serializable> content
protected ValueCalculationItemType type
protected String value
protected Integer number
protected Short indexHigh
protected Short indexLow
public List<Serializable> getContent()
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
JAXBElement<ItemType>
String
public ValueCalculationItemType getType()
ValueCalculationItemTypepublic void setType(ValueCalculationItemType value)
value - allowed object is
ValueCalculationItemTypepublic String getValue()
Stringpublic void setValue(String value)
value - allowed object is
Stringpublic Integer getNumber()
Integerpublic void setNumber(Integer value)
value - allowed object is
Integerpublic Short getIndexHigh()
Shortpublic void setIndexHigh(Short value)
value - allowed object is
Shortpublic Short getIndexLow()
Shortpublic void setIndexLow(Short value)
value - allowed object is
Shortpublic ItemType withContent(Serializable... values)
public ItemType withContent(Collection<Serializable> values)
public ItemType withType(ValueCalculationItemType value)
Copyright © 2021. All rights reserved.