org.chromattic.docs.demo.shoppingcart
Class ItemToPurchase
java.lang.Object
org.chromattic.docs.demo.shoppingcart.ItemToPurchase
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ItemToPurchase
- extends java.lang.Object
- implements groovy.lang.GroovyObject
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ItemToPurchase
public ItemToPurchase()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String value)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String value)
getCart
public ShoppingCart getCart()
setCart
public void setCart(ShoppingCart value)
getProduct
public Product getProduct()
setProduct
public void setProduct(Product value)
getQuantity
public int getQuantity()
setQuantity
public void setQuantity(int value)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2011 eXo Platform SAS. All Rights Reserved.