Class PresetGroupType
- java.lang.Object
-
- org.bidib.jbidibc.decoder.schema.decoderfirmware.PresetGroupType
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected intidprotected List<PresetType>preset
-
Constructor Summary
Constructors Constructor Description PresetGroupType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object that)intgetId()Gets the value of the id property.List<PresetType>getPreset()Gets the value of the preset property.inthashCode()voidsetId(int value)Sets the value of the id property.StringtoString()PresetGroupTypewithId(int value)PresetGroupTypewithPreset(Collection<PresetType> values)PresetGroupTypewithPreset(PresetType... values)
-
-
-
Field Detail
-
preset
protected List<PresetType> preset
-
id
protected int id
-
-
Method Detail
-
getPreset
public List<PresetType> getPreset()
Gets the value of the preset 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 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
-
getId
public int getId()
Gets the value of the id property.
-
setId
public void setId(int value)
Sets the value of the id property.
-
withPreset
public PresetGroupType withPreset(PresetType... values)
-
withPreset
public PresetGroupType withPreset(Collection<PresetType> values)
-
withId
public PresetGroupType withId(int value)
-
-