Class ItemType
java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.ItemType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the content property.Gets the value of the indexHigh property.Gets the value of the indexLow property.Gets the value of the number property.getType()Gets the value of the type property.getValue()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.voidSets the value of the number property.voidsetType(ValueCalculationItemType value) Sets the value of the type property.voidSets the value of the value property.toString()withContent(Serializable... values) withContent(Collection<Serializable> values) withIndexHigh(Short value) withIndexLow(Short value) withNumber(Integer value) withType(ValueCalculationItemType value)
-
Field Details
-
-
type
-
value
-
number
-
indexHigh
-
indexLow
-
-
Constructor Details
-
ItemType
public ItemType()
-
-
Method Details
-
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
Gets the value of the type property.- Returns:
- possible object is
ValueCalculationItemType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isValueCalculationItemType
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getNumber
Gets the value of the number property.- Returns:
- possible object is
Integer
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isInteger
-
getIndexHigh
Gets the value of the indexHigh property.- Returns:
- possible object is
Short
-
setIndexHigh
Sets the value of the indexHigh property.- Parameters:
value- allowed object isShort
-
getIndexLow
Gets the value of the indexLow property.- Returns:
- possible object is
Short
-
setIndexLow
Sets the value of the indexLow property.- Parameters:
value- allowed object isShort
-
toString
-
equals
-
hashCode
public int hashCode() -
withContent
-
withContent
-
withType
-
withValue
-
withNumber
-
withIndexHigh
-
withIndexLow
-