PojoWrapper (groovy 2.4.9 API)
Date: 2017-02-24

Package: org.codehaus.groovy.runtime.wrappers

## [Java] Class PojoWrapper

- org.codehaus.groovy.runtime.wrappers.PojoWrapper

- Authors:
    John Wilson

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected MetaClass` | `delegate` |
    `protected Object` | `wrapped` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class Wrapper` | `constrainedType`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `PojoWrapper (Object wrapped, Class constrainedType)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `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()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Wrapper` | `getDelegatedMetaClass, getMetaClass, getType, getWrapped, unwrap`
    `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()