public class OverriddenCharges extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="event" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="charges" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="startDate" type="{http://www.w3.org/2001/XMLSchema}date"/> <element name="endDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/> <element name="charge" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="priceTag" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
OverriddenCharges.Charges
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<OverriddenCharges.Charges> |
charges |
protected String |
event |
Constructor and Description |
---|
OverriddenCharges() |
Modifier and Type | Method and Description |
---|---|
List<OverriddenCharges.Charges> |
getCharges()
Gets the value of the charges property.
|
String |
getEvent()
Gets the value of the event property.
|
void |
setEvent(String value)
Sets the value of the event property.
|
protected String event
protected List<OverriddenCharges.Charges> charges
public String getEvent()
String
public void setEvent(String value)
value
- allowed object is
String
public List<OverriddenCharges.Charges> getCharges()
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 charges property.
For example, to add a new item, do as follows:
getCharges().add(newItem);
Objects of the following type(s) are allowed in the list
OverriddenCharges.Charges