Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ListingDurationDefinitionType

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

public class ListingDurationDefinitionType
extends Object
implements Serializable

A container node for a set of durations that apply to a certain 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  List<Object> any
           
protected  List<String> duration
           
protected  Integer durationSetID
           
 
Constructor Summary
ListingDurationDefinitionType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<String> _getDuration()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String[] getDuration()
           
 String getDuration(int idx)
           
 int getDurationLength()
           
 Integer getDurationSetID()
          Gets the value of the durationSetID property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 String setDuration(int idx, String value)
           
 void setDuration(String[] values)
           
 void setDurationSetID(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 List<String> duration

any

protected List<Object> any

durationSetID

protected Integer durationSetID
Constructor Detail

ListingDurationDefinitionType

public ListingDurationDefinitionType()
Method Detail

getDuration

public String[] getDuration()
Returns:
array of String

getDuration

public String getDuration(int idx)
Returns:
one of String

getDurationLength

public int getDurationLength()

setDuration

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

_getDuration

protected List<String> _getDuration()

setDuration

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

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

getDurationSetID

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

Returns:
possible object is Integer

setDurationSetID

public void setDurationSetID(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.