org.chromattic.docs.demo.shoppingcart
Class Product

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

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


Constructor Summary
Product()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.lang.String getId()
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.String getName()
           
 int getPrice()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 void setDescription(java.lang.String value)
           
 void setId(java.lang.String value)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setName(java.lang.String value)
           
 void setPrice(int value)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Product

public Product()
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)

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