Class GroupType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.commontypes.GroupType
-
public class GroupType extends Object
Java class for GroupType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GroupType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence minOccurs="0"> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}description" maxOccurs="unbounded" minOccurs="0"/> <choice maxOccurs="unbounded"> <element ref="{http://www.decoderdb.de/schema/commonTypes/1.2}option"/> </choice> </sequence> <attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected shortnumberprotected List<OptionType>option
-
Constructor Summary
Constructors Constructor Description GroupType()
-
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.List<OptionType>getOption()Gets the value of the option property.inthashCode()voidsetNumber(short value)Sets the value of the number property.StringtoString()GroupTypewithDescription(Collection<DescriptionType> values)GroupTypewithDescription(DescriptionType... values)GroupTypewithNumber(short value)GroupTypewithOption(Collection<OptionType> values)GroupTypewithOption(OptionType... values)
-
-
-
Field Detail
-
description
protected List<DescriptionType> description
-
option
protected List<OptionType> option
-
number
protected short number
-
-
Method Detail
-
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
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
-
getOption
public List<OptionType> getOption()
Gets the value of the option 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 option property.For example, to add a new item, do as follows:
getOption().add(newItem);Objects of the following type(s) are allowed in the list
OptionType
-
getNumber
public short getNumber()
Gets the value of the number property.
-
setNumber
public void setNumber(short value)
Sets the value of the number property.
-
withDescription
public GroupType withDescription(DescriptionType... values)
-
withDescription
public GroupType withDescription(Collection<DescriptionType> values)
-
withOption
public GroupType withOption(OptionType... values)
-
withOption
public GroupType withOption(Collection<OptionType> values)
-
withNumber
public GroupType withNumber(short value)
-
-