|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.OperationSchedule
org.ota.shared.OperationSchedulePlusCharge
public class OperationSchedulePlusCharge
This allows a charge to be associated with operating times (e.g. a golf tee time may be more expensive during peak hours v. off peak hours). 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="OperationSchedulePlusChargeType"> <xs:complexContent> <xs:extension base="ns:OperationScheduleType"> <xs:sequence> <xs:element type="ns:FeeType" name="Charge" minOccurs="0" maxOccurs="5"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.ota.shared.OperationSchedule |
---|
OperationSchedule.OperationTimes |
Constructor Summary | |
---|---|
OperationSchedulePlusCharge()
|
Method Summary | |
---|---|
void |
addCharge(Fee item)
Add a 'Charge' element item. |
void |
clearCharges()
Remove all 'Charge' element items. |
Fee |
getCharge(int index)
Get 'Charge' element item by position. |
java.util.List<Fee> |
getCharges()
Get the list of 'Charge' element items. |
void |
setCharges(java.util.List<Fee> list)
Set the list of 'Charge' element items. |
int |
sizeCharges()
Get the number of 'Charge' element items. |
Methods inherited from class org.ota.shared.OperationSchedule |
---|
getDateTimeSpanGroup, getOperationTimes, setDateTimeSpanGroup, setOperationTimes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationSchedulePlusCharge()
Method Detail |
---|
public java.util.List<Fee> getCharges()
public void setCharges(java.util.List<Fee> list)
list
- public int sizeCharges()
public void addCharge(Fee item)
item
- public Fee getCharge(int index)
index
-
public void clearCharges()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |