|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Guarantee
public class Guarantee
The guarantee information to hold a reservation 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="GuaranteeType"> <xs:sequence> <xs:element name="GuaranteesAccepted" minOccurs="0"> <!-- Reference to inner class GuaranteesAccepted --> </xs:element> <xs:element name="Deadline" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:DeadlineGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:CommentType" name="Comments" minOccurs="0"/> <xs:element type="ns:ParagraphType" name="GuaranteeDescription" minOccurs="0" maxOccurs="9"/> </xs:sequence> <xs:attribute use="optional" name="RetributionType"> <xs:simpleType> <!-- Reference to inner class Retribution --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:string" use="optional" name="GuaranteeCode"/> <xs:attribute use="optional" name="GuaranteeType"> <xs:simpleType> <!-- Reference to inner class GuaranteeInner --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:time" use="optional" name="HoldTime"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Guarantee.GuaranteeInner
Schema fragment(s) for this class: |
static class |
Guarantee.GuaranteesAccepted
Schema fragment(s) for this class: |
static class |
Guarantee.Retribution
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
Guarantee()
|
Method Summary | |
---|---|
void |
addGuaranteeDescription(Paragraph item)
Add a 'GuaranteeDescription' element item. |
void |
clearGuaranteeDescriptions()
Remove all 'GuaranteeDescription' element items. |
Comment |
getComments()
Get the 'Comments' element value. |
DeadlineGroup |
getDeadline()
Get the 'DeadlineGroup' attributeGroup value. |
Guarantee.GuaranteeInner |
getGuarantee()
Get the 'GuaranteeType' attribute value. |
java.lang.String |
getGuaranteeCode()
Get the 'GuaranteeCode' attribute value. |
Paragraph |
getGuaranteeDescription(int index)
Get 'GuaranteeDescription' element item by position. |
java.util.List<Paragraph> |
getGuaranteeDescriptions()
Get the list of 'GuaranteeDescription' element items. |
Guarantee.GuaranteesAccepted |
getGuaranteesAccepted()
Get the 'GuaranteesAccepted' element value. |
java.sql.Time |
getHoldTime()
Get the 'HoldTime' attribute value. |
Guarantee.Retribution |
getRetribution()
Get the 'RetributionType' attribute value. |
void |
setComments(Comment comments)
Set the 'Comments' element value. |
void |
setDeadline(DeadlineGroup deadline)
Set the 'DeadlineGroup' attributeGroup value. |
void |
setGuarantee(Guarantee.GuaranteeInner guarantee)
Set the 'GuaranteeType' attribute value. |
void |
setGuaranteeCode(java.lang.String guaranteeCode)
Set the 'GuaranteeCode' attribute value. |
void |
setGuaranteeDescriptions(java.util.List<Paragraph> list)
Set the list of 'GuaranteeDescription' element items. |
void |
setGuaranteesAccepted(Guarantee.GuaranteesAccepted guaranteesAccepted)
Set the 'GuaranteesAccepted' element value. |
void |
setHoldTime(java.sql.Time holdTime)
Set the 'HoldTime' attribute value. |
void |
setRetribution(Guarantee.Retribution retribution)
Set the 'RetributionType' attribute value. |
int |
sizeGuaranteeDescriptions()
Get the number of 'GuaranteeDescription' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Guarantee()
Method Detail |
---|
public Guarantee.GuaranteesAccepted getGuaranteesAccepted()
public void setGuaranteesAccepted(Guarantee.GuaranteesAccepted guaranteesAccepted)
guaranteesAccepted
- public DeadlineGroup getDeadline()
public void setDeadline(DeadlineGroup deadline)
deadline
- public Comment getComments()
public void setComments(Comment comments)
comments
- public java.util.List<Paragraph> getGuaranteeDescriptions()
public void setGuaranteeDescriptions(java.util.List<Paragraph> list)
list
- public int sizeGuaranteeDescriptions()
public void addGuaranteeDescription(Paragraph item)
item
- public Paragraph getGuaranteeDescription(int index)
index
-
public void clearGuaranteeDescriptions()
public Guarantee.Retribution getRetribution()
public void setRetribution(Guarantee.Retribution retribution)
retribution
- public java.lang.String getGuaranteeCode()
public void setGuaranteeCode(java.lang.String guaranteeCode)
guaranteeCode
- public Guarantee.GuaranteeInner getGuarantee()
public void setGuarantee(Guarantee.GuaranteeInner guarantee)
guarantee
- public java.sql.Time getHoldTime()
public void setHoldTime(java.sql.Time holdTime)
holdTime
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |