Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class DateType

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

public class DateType
extends Object
implements 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  List<Object> any
           
protected  Integer day
           
protected  Integer month
           
protected  Integer year
           
 
Constructor Summary
DateType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 Integer getDay()
          Gets the value of the day property.
 Integer getMonth()
          Gets the value of the month property.
 Integer getYear()
          Gets the value of the year property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDay(Integer value)
          Sets the value of the day property.
 void setMonth(Integer value)
          Sets the value of the month property.
 void setYear(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 Integer year

month

protected Integer month

day

protected Integer day

any

protected List<Object> any
Constructor Detail

DateType

public DateType()
Method Detail

getYear

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

Returns:
possible object is Integer

setYear

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

Parameters:
value - allowed object is Integer

getMonth

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

Returns:
possible object is Integer

setMonth

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

Parameters:
value - allowed object is Integer

getDay

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

Returns:
possible object is Integer

setDay

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

Parameters:
value - allowed object is Integer

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     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.