|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.runtime.wrappers.Wrapper org.codehaus.groovy.runtime.wrappers.PojoWrapper
public class PojoWrapper extends Wrapper
Field Summary | |
---|---|
protected MetaClass |
delegate
|
protected Object |
wrapped
|
Fields inherited from class Wrapper | |
---|---|
constrainedType |
Constructor Summary | |
PojoWrapper(Object wrapped, Class constrainedType)
|
Method Summary | |
---|---|
protected MetaClass
|
getDelegatedMetaClass()
|
Object
|
getProperty(String property)
|
protected Object
|
getWrapped()
|
Object
|
invokeMethod(String methodName, Object arguments)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(String property, Object newValue)
|
Object
|
unwrap()
|
Methods inherited from class Wrapper | |
---|---|
getDelegatedMetaClass, getMetaClass, getType, getWrapped, unwrap |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected MetaClass delegate
protected final Object wrapped
Constructor Detail |
---|
public PojoWrapper(Object wrapped, Class constrainedType)
Method Detail |
---|
protected MetaClass getDelegatedMetaClass()
public Object getProperty(String property)
protected Object getWrapped()
public Object invokeMethod(String methodName, Object arguments)
public void setMetaClass(MetaClass metaClass)
public void setProperty(String property, Object newValue)
public Object unwrap()
Copyright © 2003-2013 The Codehaus. All rights reserved.