|
Groovy Documentation | |||||||
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 java.lang.Object |
wrapped
|
Fields inherited from class Wrapper | |
---|---|
constrainedType |
Constructor Summary | |
PojoWrapper(java.lang.Object wrapped, java.lang.Class constrainedType)
|
Method Summary | |
---|---|
protected MetaClass
|
getDelegatedMetaClass()
|
java.lang.Object
|
getProperty(java.lang.String property)
|
protected java.lang.Object
|
getWrapped()
|
java.lang.Object
|
invokeMethod(java.lang.String methodName, java.lang.Object arguments)
|
void
|
setMetaClass(MetaClass metaClass)
|
void
|
setProperty(java.lang.String property, java.lang.Object newValue)
|
java.lang.Object
|
unwrap()
|
Methods inherited from class Wrapper | |
---|---|
getDelegatedMetaClass, getMetaClass, getType, getWrapped, unwrap |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected MetaClass delegate
protected final java.lang.Object wrapped
Constructor Detail |
---|
public PojoWrapper(java.lang.Object wrapped, java.lang.Class constrainedType)
Method Detail |
---|
protected MetaClass getDelegatedMetaClass()
public java.lang.Object getProperty(java.lang.String property)
protected java.lang.Object getWrapped()
public java.lang.Object invokeMethod(java.lang.String methodName, java.lang.Object arguments)
public void setMetaClass(MetaClass metaClass)
public void setProperty(java.lang.String property, java.lang.Object newValue)
public java.lang.Object unwrap()
Groovy Documentation