public class OptionType extends Object
Java class for OptionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OptionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.bidib.org/schema/commonTypes/1.0}description" maxOccurs="unbounded"/>
</sequence>
<attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
<attribute name="reset" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="disableOther" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected Boolean |
disableOther |
protected Boolean |
reset |
protected short |
value |
| Constructor and Description |
|---|
OptionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
short |
getValue()
Gets the value of the value property.
|
int |
hashCode() |
Boolean |
isDisableOther()
Gets the value of the disableOther property.
|
Boolean |
isReset()
Gets the value of the reset property.
|
void |
setDisableOther(Boolean value)
Sets the value of the disableOther property.
|
void |
setReset(Boolean value)
Sets the value of the reset property.
|
void |
setValue(short value)
Sets the value of the value property.
|
String |
toString() |
OptionType |
withDescription(Collection<DescriptionType> values) |
OptionType |
withDescription(DescriptionType... values) |
OptionType |
withDisableOther(Boolean value) |
OptionType |
withReset(Boolean value) |
OptionType |
withValue(short value) |
protected List<DescriptionType> description
protected short value
protected Boolean reset
protected Boolean disableOther
public List<DescriptionType> getDescription()
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 description property.
For example, to add a new item, do as follows:
getDescription().add(newItem);
Objects of the following type(s) are allowed in the list
DescriptionType
public short getValue()
public void setValue(short value)
public Boolean isReset()
Booleanpublic void setReset(Boolean value)
value - allowed object is
Booleanpublic Boolean isDisableOther()
Booleanpublic void setDisableOther(Boolean value)
value - allowed object is
Booleanpublic OptionType withDescription(DescriptionType... values)
public OptionType withDescription(Collection<DescriptionType> values)
public OptionType withValue(short value)
public OptionType withReset(Boolean value)
public OptionType withDisableOther(Boolean value)
Copyright © 2018. All rights reserved.