|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem
public static class MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem
Text description of a given category. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TextItem" maxOccurs="unbounded"> <xs:complexType> <xs:complexContent> <xs:extension base="ns:TextDescriptionType"> <xs:attributeGroup ref="ns:DateTimeStampGroup"/> <xs:attributeGroup ref="ns:RemovalGroup"/> <xs:attribute type="xs:string" use="optional" name="Version"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TextDescriptionType"> <xs:choice> <xs:element type="xs:string" name="URL" minOccurs="0"/> <xs:element name="Description" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class Description --> </xs:element> </xs:choice> <xs:attribute type="xs:string" use="optional" name="Category"/> <xs:attributeGroup ref="ns:MultimediaDescriptionGroup"/> <xs:attribute type="xs:string" use="optional" name="Language"/> </xs:complexType> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RemovalGroup"> <xs:attribute type="xs:boolean" use="optional" name="Removal"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description
The text in a specific language. |
Constructor Summary | |
---|---|
MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem()
|
Method Summary | |
---|---|
void |
addDescription(MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description item)
Add a 'Description' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearDescriptions()
Remove all 'Description' element items. |
java.lang.String |
getCategory()
Get the 'Category' attribute value. |
DateTimeStampGroup |
getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. |
MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description |
getDescription(int index)
Get 'Description' element item by position. |
java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description> |
getDescriptions()
Get the list of 'Description' element items. |
java.lang.String |
getLanguage()
Get the 'Language' attribute value. |
MultimediaDescriptionGroup |
getMultimediaDescriptionGroup()
Get the 'MultimediaDescriptionGroup' attributeGroup value. |
java.lang.Boolean |
getRemoval()
Get the 'Removal' attribute value. |
java.lang.String |
getURL()
Get the 'URL' element value. |
java.lang.String |
getVersion()
Get the 'Version' attribute value. |
boolean |
ifDescription()
Check if Descriptions is current selection for choice. |
boolean |
ifURL()
Check if URL is current selection for choice. |
void |
setCategory(java.lang.String category)
Set the 'Category' attribute value. |
void |
setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. |
void |
setDescriptions(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description> list)
Set the list of 'Description' element items. |
void |
setLanguage(java.lang.String language)
Set the 'Language' attribute value. |
void |
setMultimediaDescriptionGroup(MultimediaDescriptionGroup multimediaDescriptionGroup)
Set the 'MultimediaDescriptionGroup' attributeGroup value. |
void |
setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. |
void |
setURL(java.lang.String URL)
Set the 'URL' element value. |
void |
setVersion(java.lang.String version)
Set the 'Version' attribute value. |
int |
sizeDescriptions()
Get the number of 'Description' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifURL()
true
if selection, false
if notpublic java.lang.String getURL()
public void setURL(java.lang.String URL)
URL
- public boolean ifDescription()
true
if selection, false
if notpublic java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description> getDescriptions()
public void setDescriptions(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description> list)
list
- public int sizeDescriptions()
public void addDescription(MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description item)
item
- public MultimediaDescriptions.MultimediaDescription.Choice.TextItems.TextItem.Description getDescription(int index)
index
-
public void clearDescriptions()
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
category
- public MultimediaDescriptionGroup getMultimediaDescriptionGroup()
public void setMultimediaDescriptionGroup(MultimediaDescriptionGroup multimediaDescriptionGroup)
multimediaDescriptionGroup
- public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language
- public DateTimeStampGroup getDateTimeStampGroup()
public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
dateTimeStampGroup
- public java.lang.Boolean getRemoval()
public void setRemoval(java.lang.Boolean removal)
removal
- public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |