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 Details

  • Constructor Details

    • PresetGroupType

      public PresetGroupType()
  • Method Details

    • 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 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

    • 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object that)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • withPreset

      public PresetGroupType withPreset(PresetType... values)
    • withPreset

      public PresetGroupType withPreset(Collection<PresetType> values)
    • withId

      public PresetGroupType withId(int value)