Class BitType
java.lang.Object
org.bidib.jbidibc.decoder.schema.commontypes.BitType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of the description property.shortGets the value of the number property.getValue()Gets the value of the value property.inthashCode()voidsetNumber(short value) Sets the value of the number property.voidSets the value of the value property.toString()withDescription(Collection<DescriptionType> values) withDescription(DescriptionType... values) withNumber(short value)
-
Field Details
-
description
-
number
protected short number -
value
-
-
Constructor Details
-
BitType
public BitType()
-
-
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 -
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
Gets the value of the value property.- Returns:
- possible object is
Short
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isShort
-
toString
-
equals
-
hashCode
public int hashCode() -
withDescription
-
withDescription
-
withNumber
-
withValue
-