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.bidib.org/schema/commonTypes/1.0}option" maxOccurs="2" minOccurs="2"/>
</sequence>
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected short |
number |
protected List<OptionType> |
option |
| Constructor and Description |
|---|
BitSelectionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
short |
getNumber()
Gets the value of the number property.
|
List<OptionType> |
getOption()
Gets the value of the option property.
|
int |
hashCode() |
void |
setNumber(short value)
Sets the value of the number property.
|
String |
toString() |
BitSelectionType |
withNumber(short value) |
BitSelectionType |
withOption(Collection<OptionType> values) |
BitSelectionType |
withOption(OptionType... values) |
protected List<OptionType> option
protected short number
public List<OptionType> getOption()
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 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
public short getNumber()
public void setNumber(short value)
public BitSelectionType withOption(OptionType... values)
public BitSelectionType withOption(Collection<OptionType> values)
public BitSelectionType withNumber(short value)
Copyright © 2018. All rights reserved.