org.chromattic.docs.demo.shoppingcart
Class ItemToPurchase

java.lang.Object
  extended by org.chromattic.docs.demo.shoppingcart.ItemToPurchase
All Implemented Interfaces:
groovy.lang.GroovyObject

public class ItemToPurchase
extends java.lang.Object
implements groovy.lang.GroovyObject


Constructor Summary
ItemToPurchase()
           
 
Method Summary
 ShoppingCart getCart()
           
 java.lang.String getId()
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.String getName()
           
 Product getProduct()
           
 java.lang.Object getProperty(java.lang.String name)
           
 int getQuantity()
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 void setCart(ShoppingCart value)
           
 void setId(java.lang.String value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setName(java.lang.String value)
           
 void setProduct(Product value)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setQuantity(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemToPurchase

public ItemToPurchase()
Method Detail

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 © 2014 eXo Platform SAS. All Rights Reserved.