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