Class BitSelectionType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.BitSelectionType
-
public class BitSelectionType extends Object
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>
-
-
Constructor Summary
Constructors Constructor Description BitSelectionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)shortgetNumber()Gets the value of the number property.List<OptionType>getOption()Gets the value of the option property.ShortgetValue()Gets the value of the value property.inthashCode()voidsetNumber(short value)Sets the value of the number property.voidsetValue(Short value)Sets the value of the value property.StringtoString()BitSelectionTypewithNumber(short value)BitSelectionTypewithOption(Collection<OptionType> values)BitSelectionTypewithOption(OptionType... values)BitSelectionTypewithValue(Short value)
-
-
-
Field Detail
-
option
protected List<OptionType> option
-
number
protected short number
-
value
protected Short value
-
-
Method Detail
-
getOption
public List<OptionType> 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
public Short getValue()
Gets the value of the value property.- Returns:
- possible object is
Short
-
setValue
public void setValue(Short value)
Sets the value of the value property.- Parameters:
value- allowed object isShort
-
withOption
public BitSelectionType withOption(OptionType... values)
-
withOption
public BitSelectionType withOption(Collection<OptionType> values)
-
withNumber
public BitSelectionType withNumber(short value)
-
withValue
public BitSelectionType withValue(Short value)
-
-