public static final class BinderConfiguration.Binding
extends java.lang.Object
| Constructor and Description |
|---|
Binding(java.lang.String property,
java.lang.String converter,
boolean required)
Creates a new view binding
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getConverter()
The id of the custom converter to use to convert bound property values.
|
java.lang.String |
getProperty()
The name of the bound property.
|
boolean |
getRequired()
Whether a non-empty value is required for each binding attempt.
|
int |
hashCode() |
java.lang.String |
toString() |
public Binding(java.lang.String property,
java.lang.String converter,
boolean required)
property - the model property to bind toconverter - the id of a custom converter to apply type conversion during bindingrequired - whether this binding is requiredpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getProperty()
public java.lang.String getConverter()
public boolean getRequired()
public java.lang.String toString()
toString in class java.lang.Object