Class OptionType
java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.OptionType
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.decoderdb.de/schema/commonTypes/1.2}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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<DescriptionType> protected Booleanprotected Booleanprotected short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the description property.shortgetValue()Gets the value of the value property.inthashCode()Gets the value of the disableOther property.isReset()Gets the value of the reset property.voidsetDisableOther(Boolean value) Sets the value of the disableOther property.voidSets the value of the reset property.voidsetValue(short value) Sets the value of the value property.toString()withDescription(Collection<DescriptionType> values) withDescription(DescriptionType... values) withDisableOther(Boolean value) withValue(short value)
-
Field Details
-
description
-
value
protected short value -
reset
-
disableOther
-
-
Constructor Details
-
OptionType
public OptionType()
-
-
Method Details
-
getDescription
Gets the value of the description 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 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 -
getValue
public short getValue()Gets the value of the value property. -
setValue
public void setValue(short value) Sets the value of the value property. -
isReset
Gets the value of the reset property.- Returns:
- possible object is
Boolean
-
setReset
Sets the value of the reset property.- Parameters:
value- allowed object isBoolean
-
isDisableOther
Gets the value of the disableOther property.- Returns:
- possible object is
Boolean
-
setDisableOther
Sets the value of the disableOther property.- Parameters:
value- allowed object isBoolean
-
toString
-
equals
-
hashCode
public int hashCode() -
withDescription
-
withDescription
-
withValue
-
withReset
-
withDisableOther
-