Package org.jdesktop.beansbinding
Enum Binding.SyncFailureType
- All Implemented Interfaces:
Serializable
,Comparable<Binding.SyncFailureType>
,java.lang.constant.Constable
An enumeration representing the reasons a sync (
save
or refresh
)
can fail on a Binding
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAsave
failed due to a conversion failure on the value returned by theBinding's
target property for theBinding's
target object.Arefresh
failed because theBinding's
source property is unreadable for theBinding's
source object.Asave
failed because theBinding's
source property is unwriteable for theBinding's
source object.Asave
failed because theBinding's
target property is unreadable for theBinding's
target object.Arefresh
failed because theBinding's
target property is unwriteable for theBinding's
target object.Asave
failed due to a validation failure on the value returned by theBinding's
target property for theBinding's
target object. -
Method Summary
Modifier and TypeMethodDescriptionstatic Binding.SyncFailureType
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.
-
Enum Constant Details
-
TARGET_UNWRITEABLE
Arefresh
failed because theBinding's
target property is unwriteable for theBinding's
target object. -
SOURCE_UNWRITEABLE
Asave
failed because theBinding's
source property is unwriteable for theBinding's
source object. -
TARGET_UNREADABLE
Asave
failed because theBinding's
target property is unreadable for theBinding's
target object. -
SOURCE_UNREADABLE
Arefresh
failed because theBinding's
source property is unreadable for theBinding's
source object. -
CONVERSION_FAILED
Asave
failed due to a conversion failure on the value returned by theBinding's
target property for theBinding's
target object. -
VALIDATION_FAILED
Asave
failed due to a validation failure on the value returned by theBinding's
target property for theBinding's
target object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-