|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroovyObject
The interface implemented by all Groovy objects. Especially handy for using Groovy objects when in the Java world.
Method Summary | |
---|---|
MetaClass |
getMetaClass()
|
Object |
getProperty(String property)
|
Object |
invokeMethod(String name,
Object args)
Invokes the given method |
void |
setMetaClass(MetaClass metaClass)
Allows the MetaClass to be replaced with a derived implementation |
void |
setProperty(String property,
Object newValue)
Sets the given property to the new value |
Method Detail |
---|
Object invokeMethod(String name, Object args)
Object getProperty(String property)
void setProperty(String property, Object newValue)
MetaClass getMetaClass()
void setMetaClass(MetaClass metaClass)
|
Copyright © 2003-2007 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |