org.jdesktop.beansbinding
public static enum Binding.SyncFailureType extends java.lang.Enum<Binding.SyncFailureType>
save
or refresh
)
can fail on a Binding
.Binding.refresh()
,
Binding.save()
Enum Constant and Description |
---|
CONVERSION_FAILED
A
save failed due to a conversion failure on the value
returned by the Binding's target property for the Binding's
target object. |
SOURCE_UNREADABLE
A
refresh failed because the Binding's source property is unreadable
for the Binding's source object. |
SOURCE_UNWRITEABLE
A
save failed because the Binding's source property is unwriteable
for the Binding's source object. |
TARGET_UNREADABLE
A
save failed because the Binding's target property is unreadable
for the Binding's target object. |
TARGET_UNWRITEABLE
A
refresh failed because the Binding's target property is unwriteable
for the Binding's target object. |
VALIDATION_FAILED
A
save failed due to a validation failure on the value
returned by the Binding's target property for the Binding's
target object. |
Modifier and Type | Method and Description |
---|---|
static Binding.SyncFailureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Binding.SyncFailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Binding.SyncFailureType TARGET_UNWRITEABLE
refresh
failed because the Binding's
target property is unwriteable
for the Binding's
target object.public static final Binding.SyncFailureType SOURCE_UNWRITEABLE
save
failed because the Binding's
source property is unwriteable
for the Binding's
source object.public static final Binding.SyncFailureType TARGET_UNREADABLE
save
failed because the Binding's
target property is unreadable
for the Binding's
target object.public static final Binding.SyncFailureType SOURCE_UNREADABLE
refresh
failed because the Binding's
source property is unreadable
for the Binding's
source object.public static final Binding.SyncFailureType CONVERSION_FAILED
save
failed due to a conversion failure on the value
returned by the Binding's
target property for the Binding's
target object.public static final Binding.SyncFailureType VALIDATION_FAILED
save
failed due to a validation failure on the value
returned by the Binding's
target property for the Binding's
target object.public static Binding.SyncFailureType[] values()
for (Binding.SyncFailureType c : Binding.SyncFailureType.values()) System.out.println(c);
public static Binding.SyncFailureType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null