org.ota.shared
Class MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem

java.lang.Object
  extended by org.ota.shared.MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem
Enclosing class:
MultimediaDescriptions.MultimediaDescription.Choice.ImageItems

public static class MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem
extends java.lang.Object

Image 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="ImageItem" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ImageDescriptionType">
         <xs:attributeGroup ref="ns:DateTimeStampGroup"/>
         <xs:attributeGroup ref="ns:RemovalGroup"/>
         <xs:attribute type="xs:string" use="optional" name="Version"/>
         <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
       </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="ImageDescriptionType">
   <xs:sequence>
     <xs:element name="ImageFormat" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class ImageFormat -->
     </xs:element>
     <xs:element name="Description" minOccurs="0" maxOccurs="unbounded">
       <!-- Reference to inner class Description -->
     </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>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description
          The description associated with the image in a specific language.
static class MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat
          A set of images for a given category which may be provided in multiple formats.
 
Constructor Summary
MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem()
           
 
Method Summary
 void addDescription(MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description item)
          Add a 'Description' element item.
 void addImageFormat(MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat item)
          Add a 'ImageFormat' element item.
 void clearDescriptions()
          Remove all 'Description' element items.
 void clearImageFormats()
          Remove all 'ImageFormat' element items.
 java.lang.String getCategory()
          Get the 'Category' attribute value.
 DateTimeStampGroup getDateTimeStampGroup()
          Get the 'DateTimeStampGroup' attributeGroup value.
 MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description getDescription(int index)
          Get 'Description' element item by position.
 java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description> getDescriptions()
          Get the list of 'Description' element items.
 java.lang.String getID()
          Get the 'ID' attribute value.
 MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat getImageFormat(int index)
          Get 'ImageFormat' element item by position.
 java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat> getImageFormats()
          Get the list of 'ImageFormat' element items.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 java.lang.String getVersion()
          Get the 'Version' attribute value.
 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.ImageItems.ImageItem.Description> list)
          Set the list of 'Description' element items.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setImageFormats(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat> list)
          Set the list of 'ImageFormat' element items.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 void setVersion(java.lang.String version)
          Set the 'Version' attribute value.
 int sizeDescriptions()
          Get the number of 'Description' element items.
 int sizeImageFormats()
          Get the number of 'ImageFormat' 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.ImageItems.ImageItem

public MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem()
Method Detail

getImageFormats

public java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat> getImageFormats()
Get the list of 'ImageFormat' element items. Describes an image item.

Returns:
list

setImageFormats

public void setImageFormats(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat> list)
Set the list of 'ImageFormat' element items. Describes an image item.

Parameters:
list -

sizeImageFormats

public int sizeImageFormats()
Get the number of 'ImageFormat' element items.

Returns:
count

addImageFormat

public void addImageFormat(MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat item)
Add a 'ImageFormat' element item.

Parameters:
item -

getImageFormat

public MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.ImageFormat getImageFormat(int index)
Get 'ImageFormat' element item by position.

Parameters:
index -
Returns:
item

clearImageFormats

public void clearImageFormats()
Remove all 'ImageFormat' element items.


getDescriptions

public java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description> getDescriptions()
Get the list of 'Description' element items. Describes an image item.

Returns:
list

setDescriptions

public void setDescriptions(java.util.List<MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description> list)
Set the list of 'Description' element items. Describes an image item.

Parameters:
list -

sizeDescriptions

public int sizeDescriptions()
Get the number of 'Description' element items.

Returns:
count

addDescription

public void addDescription(MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description item)
Add a 'Description' element item.

Parameters:
item -

getDescription

public MultimediaDescriptions.MultimediaDescription.Choice.ImageItems.ImageItem.Description getDescription(int index)
Get 'Description' element item by position.

Parameters:
index -
Returns:
item

clearDescriptions

public void clearDescriptions()
Remove all 'Description' element items.


getCategory

public java.lang.String getCategory()
Get the 'Category' attribute value. Specifies the image 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 image category. Refer to OpenTravel Code list Picture Category Code (PIC).

Parameters:
category -

getDateTimeStampGroup

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

Returns:
value

setDateTimeStampGroup

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

Parameters:
dateTimeStampGroup -

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 image item.

Returns:
value

setVersion

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

Parameters:
version -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -