Class BitSelectionType
java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.BitSelectionType
Java class for BitSelectionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BitSelectionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}option" maxOccurs="2" minOccurs="2"/>
</sequence>
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortGets the value of the number property.Gets the value of the option property.getValue()Gets the value of the value property.inthashCode()voidsetNumber(short value) Sets the value of the number property.voidSets the value of the value property.toString()withNumber(short value) withOption(Collection<OptionType> values) withOption(OptionType... values)
-
Field Details
-
option
-
number
protected short number -
value
-
-
Constructor Details
-
BitSelectionType
public BitSelectionType()
-
-
Method Details
-
getOption
Gets the value of the option 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 option property.For example, to add a new item, do as follows:
getOption().add(newItem);Objects of the following type(s) are allowed in the list
OptionType -
getNumber
public short getNumber()Gets the value of the number property. -
setNumber
public void setNumber(short value) Sets the value of the number property. -
getValue
Gets the value of the value property.- Returns:
- possible object is
Short
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isShort
-
toString
-
equals
-
hashCode
public int hashCode() -
withOption
-
withOption
-
withNumber
-
withValue
-