Class PresetGroupType
java.lang.Object
org.bidib.jbidibc.decoder.schema.decoderfirmware.PresetGroupType
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetId()Gets the value of the id property.Gets the value of the preset property.inthashCode()voidsetId(int value) Sets the value of the id property.toString()withId(int value) withPreset(Collection<PresetType> values) withPreset(PresetType... values)
-
Field Details
-
preset
-
id
protected int id
-
-
Constructor Details
-
PresetGroupType
public PresetGroupType()
-
-
Method Details
-
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. -
toString
-
equals
-
hashCode
public int hashCode() -
withPreset
-
withPreset
-
withId
-