Class OptionType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.OptionType
-
public class OptionType extends Object
<p>Java class for OptionType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <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> </pre>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected BooleandisableOtherprotected Booleanresetprotected shortvalue
-
Constructor Summary
Constructors Constructor Description OptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)List<DescriptionType>getDescription()Gets the value of the description property.shortgetValue()Gets the value of the value property.inthashCode()BooleanisDisableOther()Gets the value of the disableOther property.BooleanisReset()Gets the value of the reset property.voidsetDisableOther(Boolean value)Sets the value of the disableOther property.voidsetReset(Boolean value)Sets the value of the reset property.voidsetValue(short value)Sets the value of the value property.StringtoString()OptionTypewithDescription(Collection<DescriptionType> values)OptionTypewithDescription(DescriptionType... values)OptionTypewithDisableOther(Boolean value)OptionTypewithReset(Boolean value)OptionTypewithValue(short value)
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
value
protected short value
-
reset
protected Boolean reset
-
disableOther
protected Boolean disableOther
-
-
Method Detail
-
getDescription
public List<DescriptionType> getDescription()
Gets the value of the description property. <p> 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 <CODE>set</CODE> method for the description property. <p> For example, to add a new item, do as follows: <pre> getDescription().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listDescriptionType
-
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
public Boolean isReset()
Gets the value of the reset property.- Returns:
- possible object is
Boolean
-
setReset
public void setReset(Boolean value)
Sets the value of the reset property.- Parameters:
value- allowed object isBoolean
-
isDisableOther
public Boolean isDisableOther()
Gets the value of the disableOther property.- Returns:
- possible object is
Boolean
-
setDisableOther
public void setDisableOther(Boolean value)
Sets the value of the disableOther property.- Parameters:
value- allowed object isBoolean
-
withDescription
public OptionType withDescription(DescriptionType... values)
-
withDescription
public OptionType withDescription(Collection<DescriptionType> values)
-
withValue
public OptionType withValue(short value)
-
withReset
public OptionType withReset(Boolean value)
-
withDisableOther
public OptionType withDisableOther(Boolean value)
-
-