Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class NameRecommendationType

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

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

This type is used by the NameRecommendation container that is returned in GetCategorySpecifics. A NameRecommendation container is returned for every mandatory and recommended Item Specific for a category, and provides the recommended/most popular values for the Item Specific, as well as details, instructions, and constraint information for each Item Specific name-value pairs.

Java class for NameRecommendationType complex type.

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

 <complexType name="NameRecommendationType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ValidationRules" type="{urn:ebay:apis:eBLBaseComponents}RecommendationValidationRulesType" minOccurs="0"/>
         <element name="ValueRecommendation" type="{urn:ebay:apis:eBLBaseComponents}ValueRecommendationType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="HelpURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="Source" type="{urn:ebay:apis:eBLBaseComponents}ItemSpecificSourceCodeType" minOccurs="0"/>
         <element name="HelpText" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String helpText
           
protected  java.lang.String helpURL
           
protected  java.lang.String name
           
protected  ItemSpecificSourceCodeType source
           
protected  RecommendationValidationRulesType validationRules
           
protected  java.util.List<ValueRecommendationType> valueRecommendation
           
 
Constructor Summary
NameRecommendationType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<ValueRecommendationType> _getValueRecommendation()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getHelpText()
          Gets the value of the helpText property.
 java.lang.String getHelpURL()
          Gets the value of the helpURL property.
 java.lang.String getName()
          Gets the value of the name property.
 ItemSpecificSourceCodeType getSource()
          Gets the value of the source property.
 RecommendationValidationRulesType getValidationRules()
          Gets the value of the validationRules property.
 ValueRecommendationType[] getValueRecommendation()
           
 ValueRecommendationType getValueRecommendation(int idx)
           
 int getValueRecommendationLength()
           
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setHelpText(java.lang.String value)
          Sets the value of the helpText property.
 void setHelpURL(java.lang.String value)
          Sets the value of the helpURL property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setSource(ItemSpecificSourceCodeType value)
          Sets the value of the source property.
 void setValidationRules(RecommendationValidationRulesType value)
          Sets the value of the validationRules property.
 ValueRecommendationType setValueRecommendation(int idx, ValueRecommendationType value)
           
 void setValueRecommendation(ValueRecommendationType[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

validationRules

protected RecommendationValidationRulesType validationRules

valueRecommendation

protected java.util.List<ValueRecommendationType> valueRecommendation

helpURL

protected java.lang.String helpURL

source

protected ItemSpecificSourceCodeType source

helpText

protected java.lang.String helpText

any

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

NameRecommendationType

public NameRecommendationType()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getValidationRules

public RecommendationValidationRulesType getValidationRules()
Gets the value of the validationRules property.

Returns:
possible object is RecommendationValidationRulesType

setValidationRules

public void setValidationRules(RecommendationValidationRulesType value)
Sets the value of the validationRules property.

Parameters:
value - allowed object is RecommendationValidationRulesType

getValueRecommendation

public ValueRecommendationType[] getValueRecommendation()
Returns:
array of ValueRecommendationType

getValueRecommendation

public ValueRecommendationType getValueRecommendation(int idx)
Returns:
one of ValueRecommendationType

getValueRecommendationLength

public int getValueRecommendationLength()

setValueRecommendation

public void setValueRecommendation(ValueRecommendationType[] values)
Parameters:
values - allowed objects are ValueRecommendationType

_getValueRecommendation

protected java.util.List<ValueRecommendationType> _getValueRecommendation()

setValueRecommendation

public ValueRecommendationType setValueRecommendation(int idx,
                                                      ValueRecommendationType value)
Parameters:
value - allowed object is ValueRecommendationType

getHelpURL

public java.lang.String getHelpURL()
Gets the value of the helpURL property.

Returns:
possible object is String

setHelpURL

public void setHelpURL(java.lang.String value)
Sets the value of the helpURL property.

Parameters:
value - allowed object is String

getSource

public ItemSpecificSourceCodeType getSource()
Gets the value of the source property.

Returns:
possible object is ItemSpecificSourceCodeType

setSource

public void setSource(ItemSpecificSourceCodeType value)
Sets the value of the source property.

Parameters:
value - allowed object is ItemSpecificSourceCodeType

getHelpText

public java.lang.String getHelpText()
Gets the value of the helpText property.

Returns:
possible object is String

setHelpText

public void setHelpText(java.lang.String value)
Sets the value of the helpText property.

Parameters:
value - allowed object is String

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_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 Object Element

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.