public abstract class BindingBase extends Object implements ObjectBinding
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
checkingForValueChange |
protected Object |
context |
protected BindingDelegate |
delegate |
protected String |
expression |
protected boolean |
modelUpdateDisabled |
protected boolean |
usingNullForEmptyStrings |
| Constructor and Description |
|---|
BindingBase(String propertyExpression) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext() |
BindingDelegate |
getDelegate() |
String |
getExpression() |
Object |
getValue()
Pulls bound value from the context.
|
boolean |
isCheckingForValueChange() |
boolean |
isUsingNullForEmptyStrings() |
protected void |
processException(Throwable th) |
void |
setCheckingForValueChange(boolean checkingForValueChange) |
void |
setContext(Object object) |
void |
setDelegate(BindingDelegate delegate) |
void |
setUsingNullForEmptyStrings(boolean b) |
void |
setValue(Object value)
Pushes a new value to the bound context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetView, updateViewprotected Object context
protected String expression
protected BindingDelegate delegate
protected boolean modelUpdateDisabled
protected boolean usingNullForEmptyStrings
protected boolean checkingForValueChange
public BindingBase(String propertyExpression)
public Object getContext()
getContext in interface ObjectBindingpublic void setContext(Object object)
setContext in interface ObjectBindingpublic boolean isCheckingForValueChange()
public void setCheckingForValueChange(boolean checkingForValueChange)
public boolean isUsingNullForEmptyStrings()
public void setUsingNullForEmptyStrings(boolean b)
public String getExpression()
public BindingDelegate getDelegate()
getDelegate in interface ObjectBindingpublic void setDelegate(BindingDelegate delegate)
setDelegate in interface ObjectBindingpublic void setValue(Object value)
public Object getValue()
protected void processException(Throwable th) throws ValidationException, BindingException
ValidationExceptionBindingExceptionCopyright © 2001–2015 Apache Cayenne. All rights reserved.