org.ota.shared
Class MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem

java.lang.Object
  extended by org.ota.shared.MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem
Enclosing class:
MultimediaDescriptions.MultimediaDescription.Choice.VideoItems

public static class MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem
extends java.lang.Object

Each video item represents a specific 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="VideoItem" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:VideoDescriptionType">
         <xs:attribute type="xs:string" use="optional" name="Language"/>
         <xs:attribute type="xs:string" use="optional" name="Caption"/>
         <xs:attributeGroup ref="ns:RemovalGroup"/>
         <xs:attribute type="xs:string" use="optional" name="Version"/>
         <xs:attributeGroup ref="ns:DateTimeStampGroup"/>
       </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="VideoDescriptionType">
   <xs:sequence>
     <xs:element name="VideoFormat" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class VideoFormat -->
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="Category"/>
 </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.VideoItems.VideoItem.VideoFormat
          A set of video of a given category can be provided in different Format , each format will be described in this element Schema fragment(s) for this class:
 
Constructor Summary
MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem()
           
 
Method Summary
 void addVideoFormat(MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat item)
          Add a 'VideoFormat' element item.
 void clearVideoFormats()
          Remove all 'VideoFormat' element items.
 java.lang.String getCaption()
          Get the 'Caption' attribute value.
 java.lang.String getCategory()
          Get the 'Category' attribute value.
 DateTimeStampGroup getDateTimeStampGroup()
          Get the 'DateTimeStampGroup' attributeGroup value.
 java.lang.String getLanguage()
          Get the 'Language' attribute value.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 java.lang.String getVersion()
          Get the 'Version' attribute value.
 MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat getVideoFormat(int index)
          Get 'VideoFormat' element item by position.
 java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat> getVideoFormats()
          Get the list of 'VideoFormat' element items.
 void setCaption(java.lang.String caption)
          Set the 'Caption' attribute value.
 void setCategory(java.lang.String category)
          Set the 'Category' attribute value.
 void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
          Set the 'DateTimeStampGroup' attributeGroup value.
 void setLanguage(java.lang.String language)
          Set the 'Language' attribute value.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 void setVersion(java.lang.String version)
          Set the 'Version' attribute value.
 void setVideoFormats(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat> list)
          Set the list of 'VideoFormat' element items.
 int sizeVideoFormats()
          Get the number of 'VideoFormat' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem

public MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem()
Method Detail

getVideoFormats

public java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat> getVideoFormats()
Get the list of 'VideoFormat' element items. Describes a video item.

Returns:
list

setVideoFormats

public void setVideoFormats(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat> list)
Set the list of 'VideoFormat' element items. Describes a video item.

Parameters:
list -

sizeVideoFormats

public int sizeVideoFormats()
Get the number of 'VideoFormat' element items.

Returns:
count

addVideoFormat

public void addVideoFormat(MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat item)
Add a 'VideoFormat' element item.

Parameters:
item -

getVideoFormat

public MultimediaDescriptions.MultimediaDescription.Choice.VideoItems.VideoItem.VideoFormat getVideoFormat(int index)
Get 'VideoFormat' element item by position.

Parameters:
index -
Returns:
item

clearVideoFormats

public void clearVideoFormats()
Remove all 'VideoFormat' element items.


getCategory

public java.lang.String getCategory()
Get the 'Category' attribute value. Specifies the video category. Refer to OpenTravel Code list Picture Category Code (PIC).

Returns:
value

setCategory

public void setCategory(java.lang.String category)
Set the 'Category' attribute value. Specifies the video category. Refer to OpenTravel Code list Picture Category Code (PIC).

Parameters:
category -

getLanguage

public java.lang.String getLanguage()
Get the 'Language' attribute value. The language associated with the caption for the video.

Returns:
value

setLanguage

public void setLanguage(java.lang.String language)
Set the 'Language' attribute value. The language associated with the caption for the video.

Parameters:
language -

getCaption

public java.lang.String getCaption()
Get the 'Caption' attribute value. The caption associated to a specific video category which can be provided in different languages.

Returns:
value

setCaption

public void setCaption(java.lang.String caption)
Set the 'Caption' attribute value. The caption associated to a specific video category which can be provided in different languages.

Parameters:
caption -

getRemoval

public java.lang.Boolean getRemoval()
Get the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Returns:
value

setRemoval

public void setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Parameters:
removal -

getVersion

public java.lang.String getVersion()
Get the 'Version' attribute value. The version of the video item.

Returns:
value

setVersion

public void setVersion(java.lang.String version)
Set the 'Version' attribute value. The version of the video item.

Parameters:
version -

getDateTimeStampGroup

public DateTimeStampGroup getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. Creation and modification information for this video item.

Returns:
value

setDateTimeStampGroup

public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. Creation and modification information for this video item.

Parameters:
dateTimeStampGroup -