com.liferay.portlet.shopping.model.impl
Class ShoppingCartItemImpl
java.lang.Object
com.liferay.portlet.shopping.model.impl.ShoppingCartItemImpl
- All Implemented Interfaces:
- com.liferay.portlet.shopping.model.ShoppingCartItem, java.io.Serializable, java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingCartItem>
public class ShoppingCartItemImpl
- extends java.lang.Object
- implements com.liferay.portlet.shopping.model.ShoppingCartItem
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
Constructor Summary |
ShoppingCartItemImpl(com.liferay.portlet.shopping.model.ShoppingItem item,
java.lang.String fields)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCartItemImpl
public ShoppingCartItemImpl(com.liferay.portlet.shopping.model.ShoppingItem item,
java.lang.String fields)
getFieldsArray
public static java.lang.String[] getFieldsArray(java.lang.String fields)
getCartItemId
public java.lang.String getCartItemId()
- Specified by:
getCartItemId
in interface com.liferay.portlet.shopping.model.ShoppingCartItem
getItem
public com.liferay.portlet.shopping.model.ShoppingItem getItem()
- Specified by:
getItem
in interface com.liferay.portlet.shopping.model.ShoppingCartItem
getFields
public java.lang.String getFields()
- Specified by:
getFields
in interface com.liferay.portlet.shopping.model.ShoppingCartItem
getFieldsArray
public java.lang.String[] getFieldsArray()
- Specified by:
getFieldsArray
in interface com.liferay.portlet.shopping.model.ShoppingCartItem
compareTo
public int compareTo(com.liferay.portlet.shopping.model.ShoppingCartItem cartItem)
- Specified by:
compareTo
in interface java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingCartItem>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object