|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.EventCharge
public class EventCharge
Provides details for specific event charges. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EventChargeType">
<xs:sequence>
<xs:element name="EventCharge" maxOccurs="999">
<!-- Reference to inner class EventChargeInner -->
</xs:element>
<xs:element type="ns:ParagraphType" name="Comment" minOccurs="0" maxOccurs="5"/>
</xs:sequence>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
EventCharge.EventChargeInner
A specific charge associated to an event. |
| Constructor Summary | |
|---|---|
EventCharge()
|
|
| Method Summary | |
|---|---|
void |
addComment(Paragraph item)
Add a 'Comment' element item. |
void |
addEventCharge(EventCharge.EventChargeInner item)
Add a 'EventCharge' element item. |
void |
clearComments()
Remove all 'Comment' element items. |
void |
clearEventCharges()
Remove all 'EventCharge' element items. |
Paragraph |
getComment(int index)
Get 'Comment' element item by position. |
java.util.List<Paragraph> |
getComments()
Get the list of 'Comment' element items. |
EventCharge.EventChargeInner |
getEventCharge(int index)
Get 'EventCharge' element item by position. |
java.util.List<EventCharge.EventChargeInner> |
getEventCharges()
Get the list of 'EventCharge' element items. |
void |
setComments(java.util.List<Paragraph> list)
Set the list of 'Comment' element items. |
void |
setEventCharges(java.util.List<EventCharge.EventChargeInner> list)
Set the list of 'EventCharge' element items. |
int |
sizeComments()
Get the number of 'Comment' element items. |
int |
sizeEventCharges()
Get the number of 'EventCharge' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventCharge()
| Method Detail |
|---|
public java.util.List<EventCharge.EventChargeInner> getEventCharges()
public void setEventCharges(java.util.List<EventCharge.EventChargeInner> list)
list - public int sizeEventCharges()
public void addEventCharge(EventCharge.EventChargeInner item)
item - public EventCharge.EventChargeInner getEventCharge(int index)
index -
public void clearEventCharges()
public java.util.List<Paragraph> getComments()
public void setComments(java.util.List<Paragraph> list)
list - public int sizeComments()
public void addComment(Paragraph item)
item - public Paragraph getComment(int index)
index -
public void clearComments()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||