Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class RecommendationValidationRulesType

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

public class RecommendationValidationRulesType
extends Object
implements Serializable

This type is used by the ValidationRules containers returned in the GetCategorySpecifics response, which contains some rules and limits for the recommended Item Specific name (specified in the NameRecommendation.Name field) and corresponding value(s) (specified in the ValueRecommendation.Value field). These rules and limits will apply when the recommended Item Specific is subsequently used in Add/Revise/Relist call.

Java class for RecommendationValidationRulesType complex type.

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

 <complexType name="RecommendationValidationRulesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ValueType" type="{urn:ebay:apis:eBLBaseComponents}ValueTypeCodeType" minOccurs="0"/>
         <element name="MinValues" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="MaxValues" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="SelectionMode" type="{urn:ebay:apis:eBLBaseComponents}SelectionModeCodeType" minOccurs="0"/>
         <element name="Confidence" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="Relationship" type="{urn:ebay:apis:eBLBaseComponents}NameValueRelationshipType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="VariationPicture" type="{urn:ebay:apis:eBLBaseComponents}VariationPictureRuleCodeType" minOccurs="0"/>
         <element name="VariationSpecifics" type="{urn:ebay:apis:eBLBaseComponents}VariationSpecificsRuleCodeType" minOccurs="0"/>
         <element name="ValueFormat" type="{urn:ebay:apis:eBLBaseComponents}ValueFormatCodeType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  Integer confidence
           
protected  Integer maxValues
           
protected  Integer minValues
           
protected  List<NameValueRelationshipType> relationship
           
protected  SelectionModeCodeType selectionMode
           
protected  ValueFormatCodeType valueFormat
           
protected  ValueTypeCodeType valueType
           
protected  VariationPictureRuleCodeType variationPicture
           
protected  VariationSpecificsRuleCodeType variationSpecifics
           
 
Constructor Summary
RecommendationValidationRulesType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<NameValueRelationshipType> _getRelationship()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 Integer getConfidence()
          Gets the value of the confidence property.
 Integer getMaxValues()
          Gets the value of the maxValues property.
 Integer getMinValues()
          Gets the value of the minValues property.
 NameValueRelationshipType[] getRelationship()
           
 NameValueRelationshipType getRelationship(int idx)
           
 int getRelationshipLength()
           
 SelectionModeCodeType getSelectionMode()
          Gets the value of the selectionMode property.
 ValueFormatCodeType getValueFormat()
          Gets the value of the valueFormat property.
 ValueTypeCodeType getValueType()
          Gets the value of the valueType property.
 VariationPictureRuleCodeType getVariationPicture()
          Gets the value of the variationPicture property.
 VariationSpecificsRuleCodeType getVariationSpecifics()
          Gets the value of the variationSpecifics property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setConfidence(Integer value)
          Sets the value of the confidence property.
 void setMaxValues(Integer value)
          Sets the value of the maxValues property.
 void setMinValues(Integer value)
          Sets the value of the minValues property.
 NameValueRelationshipType setRelationship(int idx, NameValueRelationshipType value)
           
 void setRelationship(NameValueRelationshipType[] values)
           
 void setSelectionMode(SelectionModeCodeType value)
          Sets the value of the selectionMode property.
 void setValueFormat(ValueFormatCodeType value)
          Sets the value of the valueFormat property.
 void setValueType(ValueTypeCodeType value)
          Sets the value of the valueType property.
 void setVariationPicture(VariationPictureRuleCodeType value)
          Sets the value of the variationPicture property.
 void setVariationSpecifics(VariationSpecificsRuleCodeType value)
          Sets the value of the variationSpecifics property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

valueType

protected ValueTypeCodeType valueType

minValues

protected Integer minValues

maxValues

protected Integer maxValues

selectionMode

protected SelectionModeCodeType selectionMode

confidence

protected Integer confidence

relationship

protected List<NameValueRelationshipType> relationship

variationPicture

protected VariationPictureRuleCodeType variationPicture

variationSpecifics

protected VariationSpecificsRuleCodeType variationSpecifics

valueFormat

protected ValueFormatCodeType valueFormat

any

protected List<Object> any
Constructor Detail

RecommendationValidationRulesType

public RecommendationValidationRulesType()
Method Detail

getValueType

public ValueTypeCodeType getValueType()
Gets the value of the valueType property.

Returns:
possible object is ValueTypeCodeType

setValueType

public void setValueType(ValueTypeCodeType value)
Sets the value of the valueType property.

Parameters:
value - allowed object is ValueTypeCodeType

getMinValues

public Integer getMinValues()
Gets the value of the minValues property.

Returns:
possible object is Integer

setMinValues

public void setMinValues(Integer value)
Sets the value of the minValues property.

Parameters:
value - allowed object is Integer

getMaxValues

public Integer getMaxValues()
Gets the value of the maxValues property.

Returns:
possible object is Integer

setMaxValues

public void setMaxValues(Integer value)
Sets the value of the maxValues property.

Parameters:
value - allowed object is Integer

getSelectionMode

public SelectionModeCodeType getSelectionMode()
Gets the value of the selectionMode property.

Returns:
possible object is SelectionModeCodeType

setSelectionMode

public void setSelectionMode(SelectionModeCodeType value)
Sets the value of the selectionMode property.

Parameters:
value - allowed object is SelectionModeCodeType

getConfidence

public Integer getConfidence()
Gets the value of the confidence property.

Returns:
possible object is Integer

setConfidence

public void setConfidence(Integer value)
Sets the value of the confidence property.

Parameters:
value - allowed object is Integer

getRelationship

public NameValueRelationshipType[] getRelationship()
Returns:
array of NameValueRelationshipType

getRelationship

public NameValueRelationshipType getRelationship(int idx)
Returns:
one of NameValueRelationshipType

getRelationshipLength

public int getRelationshipLength()

setRelationship

public void setRelationship(NameValueRelationshipType[] values)
Parameters:
values - allowed objects are NameValueRelationshipType

_getRelationship

protected List<NameValueRelationshipType> _getRelationship()

setRelationship

public NameValueRelationshipType setRelationship(int idx,
                                                 NameValueRelationshipType value)
Parameters:
value - allowed object is NameValueRelationshipType

getVariationPicture

public VariationPictureRuleCodeType getVariationPicture()
Gets the value of the variationPicture property.

Returns:
possible object is VariationPictureRuleCodeType

setVariationPicture

public void setVariationPicture(VariationPictureRuleCodeType value)
Sets the value of the variationPicture property.

Parameters:
value - allowed object is VariationPictureRuleCodeType

getVariationSpecifics

public VariationSpecificsRuleCodeType getVariationSpecifics()
Gets the value of the variationSpecifics property.

Returns:
possible object is VariationSpecificsRuleCodeType

setVariationSpecifics

public void setVariationSpecifics(VariationSpecificsRuleCodeType value)
Sets the value of the variationSpecifics property.

Parameters:
value - allowed object is VariationSpecificsRuleCodeType

getValueFormat

public ValueFormatCodeType getValueFormat()
Gets the value of the valueFormat property.

Returns:
possible object is ValueFormatCodeType

setValueFormat

public void setValueFormat(ValueFormatCodeType value)
Sets the value of the valueFormat property.

Parameters:
value - allowed object is ValueFormatCodeType

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.