Class BitType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.BitType
-
public class BitType extends Object
<p>Java class for BitType complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <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> </pre>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected shortnumberprotected Shortvalue
-
Constructor Summary
Constructors Constructor Description BitType()
-
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.shortgetNumber()Gets the value of the number property.ShortgetValue()Gets the value of the value property.inthashCode()voidsetNumber(short value)Sets the value of the number property.voidsetValue(Short value)Sets the value of the value property.StringtoString()BitTypewithDescription(Collection<DescriptionType> values)BitTypewithDescription(DescriptionType... values)BitTypewithNumber(short value)BitTypewithValue(Short value)
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
number
protected short number
-
value
protected Short value
-
-
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
-
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 isShort
-
withDescription
public BitType withDescription(DescriptionType... values)
-
withDescription
public BitType withDescription(Collection<DescriptionType> values)
-
withNumber
public BitType withNumber(short value)
-
-