org.ota.shared
Class Comment.CommentInner

java.lang.Object
  extended by org.ota.shared.Paragraph
      extended by org.ota.shared.Comment.CommentInner
Enclosing class:
Comment

public static class Comment.CommentInner
extends Paragraph

Comment details. 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="Comment" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ParagraphType">
         <xs:attribute type="xs:string" use="optional" name="CommentOriginatorCode"/>
         <xs:attribute type="xs:boolean" use="optional" name="GuestViewable"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.Paragraph
Paragraph.Choice
 
Constructor Summary
Comment.CommentInner()
           
 
Method Summary
 java.lang.String getCommentOriginatorCode()
          Get the 'CommentOriginatorCode' attribute value.
 java.lang.Boolean getGuestViewable()
          Get the 'GuestViewable' attribute value.
 void setCommentOriginatorCode(java.lang.String commentOriginatorCode)
          Set the 'CommentOriginatorCode' attribute value.
 void setGuestViewable(java.lang.Boolean guestViewable)
          Set the 'GuestViewable' attribute value.
 
Methods inherited from class org.ota.shared.Paragraph
addChoice, clearChoices, getChoice, getChoices, getDateTimeStampGroup, getLanguage, getName, getParagraphNumber, setChoices, setDateTimeStampGroup, setLanguage, setName, setParagraphNumber, sizeChoices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment.CommentInner

public Comment.CommentInner()
Method Detail

getCommentOriginatorCode

public java.lang.String getCommentOriginatorCode()
Get the 'CommentOriginatorCode' attribute value. Unique identifier for the system which created the comment.

Returns:
value

setCommentOriginatorCode

public void setCommentOriginatorCode(java.lang.String commentOriginatorCode)
Set the 'CommentOriginatorCode' attribute value. Unique identifier for the system which created the comment.

Parameters:
commentOriginatorCode -

getGuestViewable

public java.lang.Boolean getGuestViewable()
Get the 'GuestViewable' attribute value. When true, the comment may be shown to the consumer. When false, the comment may not be shown to the consumer.

Returns:
value

setGuestViewable

public void setGuestViewable(java.lang.Boolean guestViewable)
Set the 'GuestViewable' attribute value. When true, the comment may be shown to the consumer. When false, the comment may not be shown to the consumer.

Parameters:
guestViewable -