Changes since
the last release

com.ebay.sdk.util
Class MotorAttributeHelper

java.lang.Object
  extended by com.ebay.sdk.util.MotorAttributeHelper

public class MotorAttributeHelper
extends Object

Helper class to work on motor attributes.

Title:

Description:

Copyright: Copyright (c) 2004

Company: eBay Inc.

Version:
1.0
Author:
Weijun Li

Field Summary
 int ID_DEPOSITAMOUNT
          ID of DepositAmount attribute.
 int ID_DEPOSITTYPE
          ID of DepositType attribute.
 int ID_SUBTITLE
          ID of Subtitle attribute.
 
Constructor Summary
MotorAttributeHelper()
           
MotorAttributeHelper(AttributeSetType ast)
          Constructor.
 
Method Summary
 AttributeSetType getAttributeSet()
           
 double getDepositAmount()
          Gets the DepositAmount.
 String getSubtitle()
          Gets motor subtitle.
 void setDepositAmount(double depositAmount)
          Sets the DepositAmount.
 void setSubtitle(String subTitle)
          Sets motor subtitle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID_SUBTITLE

public final int ID_SUBTITLE
ID of Subtitle attribute.

See Also:
Constant Field Values

ID_DEPOSITAMOUNT

public final int ID_DEPOSITAMOUNT
ID of DepositAmount attribute.

See Also:
Constant Field Values

ID_DEPOSITTYPE

public final int ID_DEPOSITTYPE
ID of DepositType attribute.

See Also:
Constant Field Values
Constructor Detail

MotorAttributeHelper

public MotorAttributeHelper()

MotorAttributeHelper

public MotorAttributeHelper(AttributeSetType ast)
Constructor.

Parameters:
ast - AttributeSetType The object that contains the motor attributes that you want to access.
Method Detail

getAttributeSet

public AttributeSetType getAttributeSet()

getSubtitle

public String getSubtitle()
Gets motor subtitle.

Returns:
String

setSubtitle

public void setSubtitle(String subTitle)
Sets motor subtitle. Setting null string will remove Subtitle from the attribute list.

Parameters:
subTitle - String

getDepositAmount

public double getDepositAmount()
Gets the DepositAmount.

Returns:
double

setDepositAmount

public void setDepositAmount(double depositAmount)
Sets the DepositAmount. Setting 0.0 will remove DepositType and DepositAmount from the attribute list.

Parameters:
depositAmount - double

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.