public abstract class

AbstractResponseType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.AbstractResponseType
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Base type definition of a response payload that can carry any type of payload content with following optional elements: - timestamp of response message, - application level acknowledgement, and - application-level errors and warnings.

Java class for AbstractResponseType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AbstractResponseType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Timestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="Ack" type="{urn:ebay:apis:eBLBaseComponents}AckCodeType"/>
         <element name="CorrelationID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Errors" type="{urn:ebay:apis:eBLBaseComponents}ErrorType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Version" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Build" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <any processContents='lax' namespace='' minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected AckCodeType ack
protected Object any
protected String build
protected String correlationID
protected List<ErrorType> errors
protected XMLGregorianCalendar timestamp
protected String version
Public Constructors
AbstractResponseType()
Public Methods
AckCodeType getAck()
Gets the value of the ack property.
Object getAny()
Gets the value of the any property.
String getBuild()
Gets the value of the build property.
String getCorrelationID()
Gets the value of the correlationID property.
List<ErrorType> getErrors()
Gets the value of the errors property.
XMLGregorianCalendar getTimestamp()
Gets the value of the timestamp property.
String getVersion()
Gets the value of the version property.
void setAck(AckCodeType value)
Sets the value of the ack property.
void setAny(Object value)
Sets the value of the any property.
void setBuild(String value)
Sets the value of the build property.
void setCorrelationID(String value)
Sets the value of the correlationID property.
void setTimestamp(XMLGregorianCalendar value)
Sets the value of the timestamp property.
void setVersion(String value)
Sets the value of the version property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected AckCodeType ack

protected Object any

protected String build

protected String correlationID

protected List<ErrorType> errors

protected XMLGregorianCalendar timestamp

protected String version

Public Constructors

public AbstractResponseType ()

Public Methods

public AckCodeType getAck ()

Gets the value of the ack property.

Returns

public Object getAny ()

Gets the value of the any property.

Returns
  • possible object is Object Element

public String getBuild ()

Gets the value of the build property.

Returns
  • possible object is String

public String getCorrelationID ()

Gets the value of the correlationID property.

Returns
  • possible object is String

public List<ErrorType> getErrors ()

Gets the value of the errors property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the errors property.

For example, to add a new item, do as follows:

    getErrors().add(newItem);
 

Objects of the following type(s) are allowed in the list ErrorType

public XMLGregorianCalendar getTimestamp ()

Gets the value of the timestamp property.

Returns
  • possible object is XMLGregorianCalendar

public String getVersion ()

Gets the value of the version property.

Returns
  • possible object is String

public void setAck (AckCodeType value)

Sets the value of the ack property.

Parameters
value Allowed object is AckCodeType

public void setAny (Object value)

Sets the value of the any property.

Parameters
value Allowed object is Object Element

public void setBuild (String value)

Sets the value of the build property.

Parameters
value Allowed object is String

public void setCorrelationID (String value)

Sets the value of the correlationID property.

Parameters
value Allowed object is String

public void setTimestamp (XMLGregorianCalendar value)

Sets the value of the timestamp property.

Parameters
value Allowed object is XMLGregorianCalendar

public void setVersion (String value)

Sets the value of the version property.

Parameters
value Allowed object is String