| java.lang.Object | |
| ↳ | org.mule.modules.google.api.model.BaseWrapper<T extends com.google.api.client.json.GenericJson> |
Generic wrapper for classes that extend com.google.api.client.json.GenericJson Because the GenericJson class from Google's client extends java.util.Map but still has the structure of a Pojo, Mule's DataMapper cannot handle it as both, Map and Pojo. Implementations of this class wraps this classes allowing DataMapper to treat them as Pojos
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| wrapped | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new list with the wrapped objects
| |||||||||||
takes a collection of com.google.api.client.json.GenericJson
and returns a list of wrappers of class returnClass
| |||||||||||
Returns the wrapped object
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
| wrapped |
|---|
Returns a new list with the wrapped objects
| models | The wrappers |
|---|---|
| returnClass | The return type |
takes a collection of com.google.api.client.json.GenericJson and returns a list of wrappers of class returnClass
| googles | A collection of google objects |
|---|---|
| returnClass | The class of the objects returned |
Returns the wrapped object