org.ota.misc
Class PingRS

java.lang.Object
  extended by org.ota.misc.PingRS

public class PingRS
extends java.lang.Object

The OTA_PingRS message is a response to a client message used for testing application connectivity. Specific text sent by the client is to be echoed back in this response. 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="OTA_PingRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence maxOccurs="2">
         <!-- Reference to inner class Sequence -->
       </xs:sequence>
       <xs:element type="ns:ErrorsType" name="Errors"/>
     </xs:choice>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PingRS.Sequence
          Schema fragment(s) for this class:
 
Constructor Summary
PingRS()
           
 
Method Summary
 void addSuccess(PingRS.Sequence item)
          Add a sequence item.
 void clearChoiceSelect()
          Clear the choice selection.
 void clearSuccesses()
          Remove all sequence items.
 Errors getErrors()
          Get the 'Errors' element value.
 OTAPayloadStdAttributes getPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PingRS.Sequence getSuccess(int index)
          Get sequence item by position.
 java.util.List<PingRS.Sequence> getSuccesses()
          Get the list of sequence items.
 boolean ifErrors()
          Check if Errors is current selection for choice.
 boolean ifSuccess()
          Check if Successes is current selection for choice.
 void setErrors(Errors errors)
          Set the 'Errors' element value.
 void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setSuccesses(java.util.List<PingRS.Sequence> list)
          Set the list of sequence items.
 int sizeSuccesses()
          Get the number of sequence items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PingRS

public PingRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Successes is current selection for choice.

Returns:
true if selection, false if not

getSuccesses

public java.util.List<PingRS.Sequence> getSuccesses()
Get the list of sequence items.

Returns:
list

setSuccesses

public void setSuccesses(java.util.List<PingRS.Sequence> list)
Set the list of sequence items.

Parameters:
list -

sizeSuccesses

public int sizeSuccesses()
Get the number of sequence items.

Returns:
count

addSuccess

public void addSuccess(PingRS.Sequence item)
Add a sequence item.

Parameters:
item -

getSuccess

public PingRS.Sequence getSuccess(int index)
Get sequence item by position.

Parameters:
index -
Returns:
item

clearSuccesses

public void clearSuccesses()
Remove all sequence items.


ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value.

Parameters:
errors -

getPayloadStdAttributes

public OTAPayloadStdAttributes getPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setPayloadStdAttributes

public void setPayloadStdAttributes(OTAPayloadStdAttributes payloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
payloadStdAttributes -