Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ListingDurationDefinitionType

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

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

Type used by the ListingDurations container that is returned for each listing type supported for the eBay site. ListingDurations container shows the supported listing duration times for each listing type.

Java class for ListingDurationDefinitionType complex type.

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

 <complexType name="ListingDurationDefinitionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Duration" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
       <attribute name="durationSetID" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.util.List<java.lang.String> duration
           
protected  java.lang.Integer durationSetID
           
 
Constructor Summary
ListingDurationDefinitionType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<java.lang.String> _getDuration()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String[] getDuration()
           
 java.lang.String getDuration(int idx)
           
 int getDurationLength()
           
 java.lang.Integer getDurationSetID()
          Gets the value of the durationSetID property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 java.lang.String setDuration(int idx, java.lang.String value)
           
 void setDuration(java.lang.String[] values)
           
 void setDurationSetID(java.lang.Integer value)
          Sets the value of the durationSetID property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

duration

protected java.util.List<java.lang.String> duration

any

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

durationSetID

protected java.lang.Integer durationSetID
Constructor Detail

ListingDurationDefinitionType

public ListingDurationDefinitionType()
Method Detail

getDuration

public java.lang.String[] getDuration()
Returns:
array of String

getDuration

public java.lang.String getDuration(int idx)
Returns:
one of String

getDurationLength

public int getDurationLength()

setDuration

public void setDuration(java.lang.String[] values)
Parameters:
values - allowed objects are String

_getDuration

protected java.util.List<java.lang.String> _getDuration()

setDuration

public java.lang.String setDuration(int idx,
                                    java.lang.String value)
Parameters:
value - allowed object is String

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

getDurationSetID

public java.lang.Integer getDurationSetID()
Gets the value of the durationSetID property.

Returns:
possible object is Integer

setDurationSetID

public void setDurationSetID(java.lang.Integer value)
Sets the value of the durationSetID property.

Parameters:
value - allowed object is Integer

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.