public class PresetGroupType extends Object
Java class for PresetGroupType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PresetGroupType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="preset" type="{http://www.decoderdb.de/schema/decoderFirmware/1.2}PresetType" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected int |
id |
protected List<PresetType> |
preset |
| Constructor and Description |
|---|
PresetGroupType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
int |
getId()
Gets the value of the id property.
|
List<PresetType> |
getPreset()
Gets the value of the preset property.
|
int |
hashCode() |
void |
setId(int value)
Sets the value of the id property.
|
String |
toString() |
PresetGroupType |
withId(int value) |
PresetGroupType |
withPreset(Collection<PresetType> values) |
PresetGroupType |
withPreset(PresetType... values) |
protected List<PresetType> preset
protected int id
public List<PresetType> getPreset()
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 preset property.
For example, to add a new item, do as follows:
getPreset().add(newItem);
Objects of the following type(s) are allowed in the list
PresetType
public int getId()
public void setId(int value)
public PresetGroupType withPreset(PresetType... values)
public PresetGroupType withPreset(Collection<PresetType> values)
public PresetGroupType withId(int value)
Copyright © 2021. All rights reserved.