public class UberspectImpl.VelSetterImpl extends java.lang.Object implements VelPropertySet
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
putKey
the key for indexed and other properties.
|
protected VelMethod |
vm
the method to call.
|
| Constructor and Description |
|---|
UberspectImpl.VelSetterImpl(VelMethod velmethod)
Create an instance.
|
UberspectImpl.VelSetterImpl(VelMethod velmethod,
java.lang.String key)
Create an instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethodName()
returns the method name used to set this 'property'.
|
java.lang.Object |
invoke(java.lang.Object o,
java.lang.Object value)
method used to set the value in the object.
|
boolean |
isCacheable()
specifies if this VelPropertySet is cacheable and able to be reused for
this class of object it was returned for.
|
protected VelMethod vm
protected java.lang.String putKey
public UberspectImpl.VelSetterImpl(VelMethod velmethod)
velmethod - the method to call on set.public UberspectImpl.VelSetterImpl(VelMethod velmethod, java.lang.String key)
velmethod - the method to call on set.key - the index or other value passed to a
setProperty(xxx, value) method.public java.lang.Object invoke(java.lang.Object o,
java.lang.Object value)
throws java.lang.Exception
invoke in interface VelPropertySeto - Object on which the method will be called with the argvalue - value to be setjava.lang.Exception - on any error.public boolean isCacheable()
isCacheable in interface VelPropertySetpublic java.lang.String getMethodName()
getMethodName in interface VelPropertySetCopyright © 2012 The Apache Software Foundation. All Rights Reserved.