Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class DateType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.DateType
All Implemented Interfaces:
java.io.Serializable

public class DateType
extends java.lang.Object
implements java.io.Serializable

Defines year, month, and day as individual components of a date. Only applicable to use cases that support incomplete dates. Otherwise, we use xs:dateTime (or xs:date, as appropriate).

Java class for DateType complex type.

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

 <complexType name="DateType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Year" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Month" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Day" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.Integer day
           
protected  java.lang.Integer month
           
protected  java.lang.Integer year
           
 
Constructor Summary
DateType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.Integer getDay()
          Gets the value of the day property.
 java.lang.Integer getMonth()
          Gets the value of the month property.
 java.lang.Integer getYear()
          Gets the value of the year property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDay(java.lang.Integer value)
          Sets the value of the day property.
 void setMonth(java.lang.Integer value)
          Sets the value of the month property.
 void setYear(java.lang.Integer value)
          Sets the value of the year property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

year

protected java.lang.Integer year

month

protected java.lang.Integer month

day

protected java.lang.Integer day

any

protected java.util.List<java.lang.Object> any
Constructor Detail

DateType

public DateType()
Method Detail

getYear

public java.lang.Integer getYear()
Gets the value of the year property.

Returns:
possible object is Integer

setYear

public void setYear(java.lang.Integer value)
Sets the value of the year property.

Parameters:
value - allowed object is Integer

getMonth

public java.lang.Integer getMonth()
Gets the value of the month property.

Returns:
possible object is Integer

setMonth

public void setMonth(java.lang.Integer value)
Sets the value of the month property.

Parameters:
value - allowed object is Integer

getDay

public java.lang.Integer getDay()
Gets the value of the day property.

Returns:
possible object is Integer

setDay

public void setDay(java.lang.Integer value)
Sets the value of the day property.

Parameters:
value - allowed object is Integer

getAny

public java.lang.Object[] getAny()
Returns:
array of Element Object

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Element Object

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.