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.bidib.org/schema/commonTypes/1.0}description" maxOccurs="unbounded" minOccurs="0"/>
<choice maxOccurs="unbounded">
<element ref="{http://www.bidib.org/schema/commonTypes/1.0}option"/>
</choice>
</sequence>
<attribute name="number" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected short |
number |
protected List<OptionType> |
option |
| Constructor and Description |
|---|
GroupType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
short |
getNumber()
Gets the value of the number property.
|
List<OptionType> |
getOption()
Gets the value of the option property.
|
int |
hashCode() |
void |
setNumber(short value)
Sets the value of the number property.
|
String |
toString() |
GroupType |
withDescription(Collection<DescriptionType> values) |
GroupType |
withDescription(DescriptionType... values) |
GroupType |
withNumber(short value) |
GroupType |
withOption(Collection<OptionType> values) |
GroupType |
withOption(OptionType... values) |
protected List<DescriptionType> description
protected List<OptionType> option
protected short number
public List<DescriptionType> getDescription()
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
public List<OptionType> getOption()
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 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
public short getNumber()
public void setNumber(short value)
public GroupType withDescription(DescriptionType... values)
public GroupType withDescription(Collection<DescriptionType> values)
public GroupType withOption(OptionType... values)
public GroupType withOption(Collection<OptionType> values)
public GroupType withNumber(short value)
Copyright © 2018. All rights reserved.