org.tynamo.bindings
Class ModelBinding
java.lang.Object
org.tynamo.bindings.ModelBinding
- All Implemented Interfaces:
- org.apache.tapestry5.Binding, org.apache.tapestry5.ioc.AnnotationProvider
public class ModelBinding
- extends Object
- implements org.apache.tapestry5.Binding
Binding to use when you don't know the final type of the property bound.
The bindingType will be computed on the fly based on the binding actual value.
|
Constructor Summary |
ModelBinding(org.apache.tapestry5.Binding binding)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelBinding
public ModelBinding(org.apache.tapestry5.Binding binding)
getBindingType
public Class getBindingType()
- Specified by:
getBindingType in interface org.apache.tapestry5.Binding
get
public Object get()
- Specified by:
get in interface org.apache.tapestry5.Binding
set
public void set(Object value)
- Specified by:
set in interface org.apache.tapestry5.Binding
isInvariant
public boolean isInvariant()
- Specified by:
isInvariant in interface org.apache.tapestry5.Binding
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> tClass)
- Specified by:
getAnnotation in interface org.apache.tapestry5.ioc.AnnotationProvider
Copyright © 2004-2012. All Rights Reserved.