|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.Paragraph
public class Paragraph
An indication of a new paragraph for a sub-section of a formatted text message. 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="ParagraphType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<!-- Reference to inner class Choice -->
</xs:choice>
<xs:attribute type="xs:string" use="optional" name="Name"/>
<xs:attribute type="xs:int" use="optional" name="ParagraphNumber"/>
<xs:attributeGroup ref="ns:DateTimeStampGroup"/>
<xs:attributeGroup ref="ns:LanguageGroup"/>
</xs:complexType>
<xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LanguageGroup">
<xs:attribute type="xs:string" use="optional" name="Language"/>
</xs:attributeGroup>
| Nested Class Summary | |
|---|---|
static class |
Paragraph.Choice
Schema fragment(s) for this class: |
| Constructor Summary | |
|---|---|
Paragraph()
|
|
| Method Summary | |
|---|---|
void |
addChoice(Paragraph.Choice item)
Add a choice item. |
void |
clearChoices()
Remove all choice items. |
Paragraph.Choice |
getChoice(int index)
Get choice item by position. |
java.util.List<Paragraph.Choice> |
getChoices()
Get the list of choice items. |
DateTimeStampGroup |
getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. |
java.lang.String |
getLanguage()
Get the 'Language' attribute value. |
java.lang.String |
getName()
Get the 'Name' attribute value. |
java.lang.Integer |
getParagraphNumber()
Get the 'ParagraphNumber' attribute value. |
void |
setChoices(java.util.List<Paragraph.Choice> list)
Set the list of choice items. |
void |
setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. |
void |
setLanguage(java.lang.String language)
Set the 'Language' attribute value. |
void |
setName(java.lang.String name)
Set the 'Name' attribute value. |
void |
setParagraphNumber(java.lang.Integer paragraphNumber)
Set the 'ParagraphNumber' attribute value. |
int |
sizeChoices()
Get the number of choice items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Paragraph()
| Method Detail |
|---|
public java.util.List<Paragraph.Choice> getChoices()
public void setChoices(java.util.List<Paragraph.Choice> list)
list - public int sizeChoices()
public void addChoice(Paragraph.Choice item)
item - public Paragraph.Choice getChoice(int index)
index -
public void clearChoices()
public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.lang.Integer getParagraphNumber()
public void setParagraphNumber(java.lang.Integer paragraphNumber)
paragraphNumber - public DateTimeStampGroup getDateTimeStampGroup()
public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
dateTimeStampGroup - public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||