org.chromattic.docs.demo.shoppingcart
Class Product
java.lang.Object
org.chromattic.docs.demo.shoppingcart.Product
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class Product
- 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 |
Product
public Product()
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)
getPrice
public int getPrice()
setPrice
public void setPrice(int value)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String 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 © 2012 eXo Platform SAS. All Rights Reserved.