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

public class BitType extends Object

Java class for BitType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="BitType">
   <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="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
       <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • description

      protected List<DescriptionType> description
    • number

      protected short number
    • value

      protected Short value
  • Constructor Details

    • BitType

      public BitType()
  • 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

    • getNumber

      public short getNumber()
      Gets the value of the number property.
    • setNumber

      public void setNumber(short value)
      Sets the value of the number property.
    • getValue

      public Short getValue()
      Gets the value of the value property.
      Returns:
      possible object is Short
    • setValue

      public void setValue(Short value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is Short
    • 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 BitType withDescription(DescriptionType... values)
    • withDescription

      public BitType withDescription(Collection<DescriptionType> values)
    • withNumber

      public BitType withNumber(short value)
    • withValue

      public BitType withValue(Short value)