Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class AttributeType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.AttributeType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Attribute

public class AttributeType
extends Object
implements Serializable

A salient aspect or feature of an item. On eBay.com, this information is used in the Item Specifics section of a listing to describe an item in a standard way so that buyers can find it more easily.

See Also:
Serialized Form

Constructor Summary
AttributeType()
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this AttributeType.
 int getAttributeID()
          Gets the attributeID value for this AttributeType.
 String getAttributeLabel()
          Gets the attributeLabel value for this AttributeType.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 ValType[] getValue()
          Gets the value for this AttributeType.
 ValType getValue(int i)
           
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this AttributeType.
 void setAttributeID(int attributeID)
          Sets the attributeID value for this AttributeType.
 void setAttributeLabel(String attributeLabel)
          Sets the attributeLabel value for this AttributeType.
 void setValue(int i, ValType value)
           
 void setValue(ValType[] value)
          Sets the value for this AttributeType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeType

public AttributeType()
Method Detail

getValue

public ValType[] getValue()
Gets the value for this AttributeType.

Returns:
value A value the seller selected or entered for the attribute. At least one value is required for each Attribute that you specify. Some attributes can have multiple values. See the eBay Web Services guide sections on Item Specifics (Attributes) and Pre-filled Item Information (Catalogs) for information about using GetAttributesCS to determine valid attribute values.

For eBay.com listings, use AttributeSetArray.AttributeSet.Attribute.Value. For Half.com, use AttributeArray.Attribute.Value. That is, the parent elements and usage for Half.com differs from eBay's standard Item Specifics format (and there is no relationship to GetAttributesCS). For Half.com, this does not use the same Attributes logic as eBay's Item Specifics. For Half.com, AttributeArray.Attribute.Value is required when you use AddItem. see the eBay Web Services Guide for valid values. You can revise AttributeArray.Attribute.Value for Half.com listings.

setValue

public void setValue(ValType[] value)
Sets the value for this AttributeType.

Parameters:
value - A value the seller selected or entered for the attribute. At least one value is required for each Attribute that you specify. Some attributes can have multiple values. See the eBay Web Services guide sections on Item Specifics (Attributes) and Pre-filled Item Information (Catalogs) for information about using GetAttributesCS to determine valid attribute values.

For eBay.com listings, use AttributeSetArray.AttributeSet.Attribute.Value. For Half.com, use AttributeArray.Attribute.Value. That is, the parent elements and usage for Half.com differs from eBay's standard Item Specifics format (and there is no relationship to GetAttributesCS). For Half.com, this does not use the same Attributes logic as eBay's Item Specifics. For Half.com, AttributeArray.Attribute.Value is required when you use AddItem. see the eBay Web Services Guide for valid values. You can revise AttributeArray.Attribute.Value for Half.com listings.

getValue

public ValType getValue(int i)

setValue

public void setValue(int i,
                     ValType value)

get_any

public MessageElement[] get_any()
Gets the _any value for this AttributeType.

Returns:
_any

set_any

public void set_any(MessageElement[] _any)
Sets the _any value for this AttributeType.

Parameters:
_any -

getAttributeID

public int getAttributeID()
Gets the attributeID value for this AttributeType.

Returns:
attributeID

setAttributeID

public void setAttributeID(int attributeID)
Sets the attributeID value for this AttributeType.

Parameters:
attributeID -

getAttributeLabel

public String getAttributeLabel()
Gets the attributeLabel value for this AttributeType.

Returns:
attributeLabel

setAttributeLabel

public void setAttributeLabel(String attributeLabel)
Sets the attributeLabel value for this AttributeType.

Parameters:
attributeLabel -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer


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-2006 eBay Inc. All rights reserved.