org.ota.shared
Class FileAttachmentGroup

java.lang.Object
  extended by org.ota.shared.FileAttachmentGroup

public class FileAttachmentGroup
extends java.lang.Object

Provides information about any files attached (e.g., multimedia objects) at the transport layer (e.g., HTTP/SOAP) Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FileAttachmentGroup">
   <xs:attributeGroup ref="ns:CodeInfoGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ContentData"/>
   <xs:attribute type="xs:string" use="optional" name="Description"/>
   <xs:attribute type="xs:string" use="optional" name="PictureCategoryCode"/>
   <xs:attribute type="xs:string" use="optional" name="Version"/>
   <xs:attribute type="xs:string" use="optional" name="ContentTitle"/>
   <xs:attribute type="xs:string" use="optional" name="ContentCaption"/>
   <xs:attribute type="xs:string" use="optional" name="CopyrightNotice"/>
   <xs:attribute type="xs:string" use="optional" name="FileName"/>
   <xs:attribute type="xs:string" use="optional" name="FileSize"/>
   <xs:attribute type="xs:string" use="optional" name="MultimediaObjectHeight"/>
   <xs:attribute type="xs:string" use="optional" name="MultimediaObjectWidth"/>
   <xs:attribute type="xs:string" use="optional" name="UnitOfMeasureCode"/>
   <xs:attribute type="xs:string" use="optional" name="ContentID"/>
   <xs:attribute type="xs:string" use="optional" name="ContentCode"/>
   <xs:attribute type="xs:string" use="optional" name="ContentFormatCode"/>
   <xs:attribute type="xs:string" use="optional" name="RecordID"/>
 </xs:attributeGroup>
 


Constructor Summary
FileAttachmentGroup()
           
 
Method Summary
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getContentCaption()
          Get the 'ContentCaption' attribute value.
 java.lang.String getContentCode()
          Get the 'ContentCode' attribute value.
 java.lang.String getContentData()
          Get the 'ContentData' attribute value.
 java.lang.String getContentFormatCode()
          Get the 'ContentFormatCode' attribute value.
 java.lang.String getContentID()
          Get the 'ContentID' attribute value.
 java.lang.String getContentTitle()
          Get the 'ContentTitle' attribute value.
 java.lang.String getCopyrightNotice()
          Get the 'CopyrightNotice' attribute value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getFileName()
          Get the 'FileName' attribute value.
 java.lang.String getFileSize()
          Get the 'FileSize' attribute value.
 java.lang.String getMultimediaObjectHeight()
          Get the 'MultimediaObjectHeight' attribute value.
 java.lang.String getMultimediaObjectWidth()
          Get the 'MultimediaObjectWidth' attribute value.
 java.lang.String getPictureCategoryCode()
          Get the 'PictureCategoryCode' attribute value.
 java.lang.String getRecordID()
          Get the 'RecordID' attribute value.
 java.lang.String getUnitOfMeasureCode()
          Get the 'UnitOfMeasureCode' attribute value.
 java.lang.String getVersion()
          Get the 'Version' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setContentCaption(java.lang.String contentCaption)
          Set the 'ContentCaption' attribute value.
 void setContentCode(java.lang.String contentCode)
          Set the 'ContentCode' attribute value.
 void setContentData(java.lang.String contentData)
          Set the 'ContentData' attribute value.
 void setContentFormatCode(java.lang.String contentFormatCode)
          Set the 'ContentFormatCode' attribute value.
 void setContentID(java.lang.String contentID)
          Set the 'ContentID' attribute value.
 void setContentTitle(java.lang.String contentTitle)
          Set the 'ContentTitle' attribute value.
 void setCopyrightNotice(java.lang.String copyrightNotice)
          Set the 'CopyrightNotice' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setFileName(java.lang.String fileName)
          Set the 'FileName' attribute value.
 void setFileSize(java.lang.String fileSize)
          Set the 'FileSize' attribute value.
 void setMultimediaObjectHeight(java.lang.String multimediaObjectHeight)
          Set the 'MultimediaObjectHeight' attribute value.
 void setMultimediaObjectWidth(java.lang.String multimediaObjectWidth)
          Set the 'MultimediaObjectWidth' attribute value.
 void setPictureCategoryCode(java.lang.String pictureCategoryCode)
          Set the 'PictureCategoryCode' attribute value.
 void setRecordID(java.lang.String recordID)
          Set the 'RecordID' attribute value.
 void setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
          Set the 'UnitOfMeasureCode' attribute value.
 void setVersion(java.lang.String version)
          Set the 'Version' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAttachmentGroup

public FileAttachmentGroup()
Method Detail

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item.

Parameters:
codeInfoGroup -

getContentData

public java.lang.String getContentData()
Get the 'ContentData' attribute value. Vendor-specific format that contains the content data for the multimedia object.

Returns:
value

setContentData

public void setContentData(java.lang.String contentData)
Set the 'ContentData' attribute value. Vendor-specific format that contains the content data for the multimedia object.

Parameters:
contentData -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. A short description of the multimedia object.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. A short description of the multimedia object.

Parameters:
description -

getPictureCategoryCode

public java.lang.String getPictureCategoryCode()
Get the 'PictureCategoryCode' attribute value. A code defining the type of picture (e.g. Exterior, Lobby, Reception area, RoomTypes, Facilities, Dining areas, Meeting Rooms, Logo). Refer to OpenTravel Code List Picture Category Code (PIC).

Returns:
value

setPictureCategoryCode

public void setPictureCategoryCode(java.lang.String pictureCategoryCode)
Set the 'PictureCategoryCode' attribute value. A code defining the type of picture (e.g. Exterior, Lobby, Reception area, RoomTypes, Facilities, Dining areas, Meeting Rooms, Logo). Refer to OpenTravel Code List Picture Category Code (PIC).

Parameters:
pictureCategoryCode -

getVersion

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

Returns:
value

setVersion

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

Parameters:
version -

getContentTitle

public java.lang.String getContentTitle()
Get the 'ContentTitle' attribute value. The title for the multimedia object.

Returns:
value

setContentTitle

public void setContentTitle(java.lang.String contentTitle)
Set the 'ContentTitle' attribute value. The title for the multimedia object.

Parameters:
contentTitle -

getContentCaption

public java.lang.String getContentCaption()
Get the 'ContentCaption' attribute value. The caption to be published with the multimedia file.

Returns:
value

setContentCaption

public void setContentCaption(java.lang.String contentCaption)
Set the 'ContentCaption' attribute value. The caption to be published with the multimedia file.

Parameters:
contentCaption -

getCopyrightNotice

public java.lang.String getCopyrightNotice()
Get the 'CopyrightNotice' attribute value. The information describing the copyright notice for the multimedia object at a hotel facility. If this field is filled in, this copyright notice must be printed with the multimedia object.

Returns:
value

setCopyrightNotice

public void setCopyrightNotice(java.lang.String copyrightNotice)
Set the 'CopyrightNotice' attribute value. The information describing the copyright notice for the multimedia object at a hotel facility. If this field is filled in, this copyright notice must be printed with the multimedia object.

Parameters:
copyrightNotice -

getFileName

public java.lang.String getFileName()
Get the 'FileName' attribute value. Specifies the name of the file being sent.

Returns:
value

setFileName

public void setFileName(java.lang.String fileName)
Set the 'FileName' attribute value. Specifies the name of the file being sent.

Parameters:
fileName -

getFileSize

public java.lang.String getFileSize()
Get the 'FileSize' attribute value. The size of the file sent, in bytes. This may be used to validate that the received file is the correct size.

Returns:
value

setFileSize

public void setFileSize(java.lang.String fileSize)
Set the 'FileSize' attribute value. The size of the file sent, in bytes. This may be used to validate that the received file is the correct size.

Parameters:
fileSize -

getMultimediaObjectHeight

public java.lang.String getMultimediaObjectHeight()
Get the 'MultimediaObjectHeight' attribute value. The height of the image.

Returns:
value

setMultimediaObjectHeight

public void setMultimediaObjectHeight(java.lang.String multimediaObjectHeight)
Set the 'MultimediaObjectHeight' attribute value. The height of the image.

Parameters:
multimediaObjectHeight -

getMultimediaObjectWidth

public java.lang.String getMultimediaObjectWidth()
Get the 'MultimediaObjectWidth' attribute value. The width of the image.

Returns:
value

setMultimediaObjectWidth

public void setMultimediaObjectWidth(java.lang.String multimediaObjectWidth)
Set the 'MultimediaObjectWidth' attribute value. The width of the image.

Parameters:
multimediaObjectWidth -

getUnitOfMeasureCode

public java.lang.String getUnitOfMeasureCode()
Get the 'UnitOfMeasureCode' attribute value. The unit of measure for the multimedia object (e.g., inches, pixels, centimeters). Refer to OpenTravel Code List Unit of Measure Code (UOM).

Returns:
value

setUnitOfMeasureCode

public void setUnitOfMeasureCode(java.lang.String unitOfMeasureCode)
Set the 'UnitOfMeasureCode' attribute value. The unit of measure for the multimedia object (e.g., inches, pixels, centimeters). Refer to OpenTravel Code List Unit of Measure Code (UOM).

Parameters:
unitOfMeasureCode -

getContentID

public java.lang.String getContentID()
Get the 'ContentID' attribute value. The content ID of a file attachment with the prefix 'cid:'. The value of this can be used to retrieve the corresponding attachment by the receiving system.

Returns:
value

setContentID

public void setContentID(java.lang.String contentID)
Set the 'ContentID' attribute value. The content ID of a file attachment with the prefix 'cid:'. The value of this can be used to retrieve the corresponding attachment by the receiving system.

Parameters:
contentID -

getContentCode

public java.lang.String getContentCode()
Get the 'ContentCode' attribute value. Description of the multimedia object or attached file contents. Refer to OpenTravel Code List Content Code (CTT).

Returns:
value

setContentCode

public void setContentCode(java.lang.String contentCode)
Set the 'ContentCode' attribute value. Description of the multimedia object or attached file contents. Refer to OpenTravel Code List Content Code (CTT).

Parameters:
contentCode -

getContentFormatCode

public java.lang.String getContentFormatCode()
Get the 'ContentFormatCode' attribute value. The specific file format of the multimedia object or attached file (e.g., mpeg, jpg, gif). Refer to OpenTravel Code List Content Format Code (CFC).

Returns:
value

setContentFormatCode

public void setContentFormatCode(java.lang.String contentFormatCode)
Set the 'ContentFormatCode' attribute value. The specific file format of the multimedia object or attached file (e.g., mpeg, jpg, gif). Refer to OpenTravel Code List Content Format Code (CFC).

Parameters:
contentFormatCode -

getRecordID

public java.lang.String getRecordID()
Get the 'RecordID' attribute value. Uniquely identifies this file in the message.

Returns:
value

setRecordID

public void setRecordID(java.lang.String recordID)
Set the 'RecordID' attribute value. Uniquely identifies this file in the message.

Parameters:
recordID -