public class Binding
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.util.Set |
getAfterWhenEvents()
Deprecated.
Get save-after event expression.
|
java.util.Map<java.lang.Object,java.lang.Object> |
getArgs()
Deprecated.
Get generic arguments.
|
java.lang.String |
getAttr()
Deprecated.
Get component attribute name.
|
java.lang.Object |
getBean(Component comp)
Deprecated.
Returns the associated bean of this binding; e.g., for a binding to the bean "a.b.c", this will return the bean associated to "a.b"
(and c is the property name).
|
DataBinder |
getBinder()
Deprecated.
Gets the associated Data Binder of this Binding.
|
Component |
getComponent()
Deprecated.
Gets the associated Component of this Binding.
|
TypeConverter |
getConverter()
Deprecated.
Get the
TypeConverter . |
java.lang.String |
getExpression()
Deprecated.
Get bean expression, e.g. a.b.c.
|
java.util.LinkedHashSet<java.lang.String> |
getLoadAfterEvents()
Deprecated.
Get load-after event expression set.
|
java.util.LinkedHashSet<java.lang.String> |
getLoadWhenEvents()
Deprecated.
Get load-when event expression set.
|
java.util.Set<java.lang.String> |
getSaveWhenEvents()
Deprecated.
Get save-when event expression.
|
boolean |
isLoadable()
Deprecated.
Whether the binding is loadable.
|
boolean |
isSavable()
Deprecated.
Whether the binding is savable.
|
void |
loadAttribute(Component comp)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
loadAttribute(Component comp,
java.lang.Object bean)
Deprecated.
load bean value into the attribute of the specified component.
|
void |
saveAttribute(Component comp)
Deprecated.
save into bean value from the attribute of the specified component.
|
java.lang.String |
toString()
Deprecated.
|
public DataBinder getBinder()
public Component getComponent()
public java.lang.String getAttr()
public java.util.Map<java.lang.Object,java.lang.Object> getArgs()
public java.lang.String getExpression()
public java.util.Set<java.lang.String> getSaveWhenEvents()
public java.util.Set getAfterWhenEvents()
public java.util.LinkedHashSet<java.lang.String> getLoadWhenEvents()
public java.util.LinkedHashSet<java.lang.String> getLoadAfterEvents()
public boolean isLoadable()
public boolean isSavable()
public TypeConverter getConverter()
TypeConverter
.public void loadAttribute(Component comp)
comp
- the component.public java.lang.Object getBean(Component comp)
Note if the expression is associated to a single variable; e.g. "a" only, this method returns null.
comp
- public void loadAttribute(Component comp, java.lang.Object bean)
comp
- the component.bean
- the bean value.public void saveAttribute(Component comp)
comp
- the component.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.