Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.model.impl
Class ShoppingCartItemImpl

java.lang.Object
  extended by com.liferay.portlet.shopping.model.impl.ShoppingCartItemImpl
All Implemented Interfaces:
ShoppingCartItem, Serializable, Comparable<ShoppingCartItem>

public class ShoppingCartItemImpl
extends Object
implements ShoppingCartItem

See Also:
Serialized Form

Constructor Summary
ShoppingCartItemImpl(ShoppingItem item, String fields)
           
 
Method Summary
 int compareTo(ShoppingCartItem cartItem)
           
 boolean equals(Object obj)
           
 String getCartItemId()
           
 String getFields()
           
 String[] getFieldsArray()
           
static String[] getFieldsArray(String fields)
           
 ShoppingItem getItem()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCartItemImpl

public ShoppingCartItemImpl(ShoppingItem item,
                            String fields)
Method Detail

getFieldsArray

public static String[] getFieldsArray(String fields)

compareTo

public int compareTo(ShoppingCartItem cartItem)
Specified by:
compareTo in interface Comparable<ShoppingCartItem>

equals

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

getCartItemId

public String getCartItemId()
Specified by:
getCartItemId in interface ShoppingCartItem

getFields

public String getFields()
Specified by:
getFields in interface ShoppingCartItem

getFieldsArray

public String[] getFieldsArray()
Specified by:
getFieldsArray in interface ShoppingCartItem

getItem

public ShoppingItem getItem()
Specified by:
getItem in interface ShoppingCartItem

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Liferay 6.1.2-ce-ga3