java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.OptionType

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.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 Details

    • description

      protected List<DescriptionType> description
    • value

      protected short value
    • reset

      protected Boolean reset
    • disableOther

      protected Boolean disableOther
  • Constructor Details

    • OptionType

      public OptionType()
  • Method Details

    • getDescription

      public List<DescriptionType> 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 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

    • 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 is Boolean
    • 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 is Boolean
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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)