nl.coderight.jazz.form.binding
Class SingleValueBinding<V>
java.lang.Object
nl.coderight.jazz.form.binding.SingleValueBinding<V>
- All Implemented Interfaces:
- DataBinding<V>
public class SingleValueBinding<V>
- extends Object
- implements DataBinding<V>
Data Binding implementation for fields with a single value.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleValueBinding
public SingleValueBinding(FormField<V> field)
update
public void update(FormModel model)
throws DataBindingException
- Specified by:
update
in interface DataBinding<V>
- Throws:
DataBindingException
commit
public void commit(FormModel model)
throws DataBindingException
- Specified by:
commit
in interface DataBinding<V>
- Throws:
DataBindingException
Copyright 2010 CodeRight, All rights reserved.