com.liferay.portlet.shopping.model.impl
Class ShoppingCartItemImpl
java.lang.Object
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
ShoppingCartItemImpl
public ShoppingCartItemImpl(ShoppingItem item,
String fields)
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