org.callbackparams.sandbox
Class Property.BasicImpl<T>

java.lang.Object
  extended by org.callbackparams.wrap.legacy.WrappingLegacySupport
      extended by org.callbackparams.wrap.WrappingSupport<T>
          extended by org.callbackparams.sandbox.Property.BasicImpl<T>
All Implemented Interfaces:
CallbackFactory, Property.Callback<T>, Wrapping
Enclosing class:
Property

protected static class Property.BasicImpl<T>
extends WrappingSupport<T>
implements CallbackFactory, Property.Callback<T>


Field Summary
protected  Property.BeanClass beanClass
           
protected  Property.Name propertyName
           
protected  Property.Value propertyValue
           
 
Method Summary
 void assertValues(Object bean)
           
 Property.Callback<T> getCallback()
          If all of the necessary annotations beanClass, propertyName and propertyValue are found on the wrapped value (or its type) then the method will return itself; otherwise null is returned.
 void setValues(Object bean)
           
 String toString()
           
 
Methods inherited from class org.callbackparams.wrap.WrappingSupport
wrap, wrappedValue
 
Methods inherited from class org.callbackparams.wrap.legacy.WrappingLegacySupport
wrapArray, wrapSingle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

beanClass

protected Property.BeanClass beanClass

propertyName

protected Property.Name propertyName

propertyValue

protected Property.Value propertyValue
Method Detail

getCallback

public Property.Callback<T> getCallback()
If all of the necessary annotations beanClass, propertyName and propertyValue are found on the wrapped value (or its type) then the method will return itself; otherwise null is returned.

Specified by:
getCallback in interface CallbackFactory
Returns:
this object - if all of the necessary annotations beanClass, propertyName and propertyValue are found on the wrapped value (or its type); otherwise null

setValues

public void setValues(Object bean)
Specified by:
setValues in interface Property.Callback<T>

assertValues

public void assertValues(Object bean)
Specified by:
assertValues in interface Property.Callback<T>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010-2013 Henrik Kaipe. All Rights Reserved.