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 ConstantDescriptionAsavefailed due to a conversion failure on the value returned by theBinding'starget property for theBinding'starget object.Arefreshfailed because theBinding'ssource property is unreadable for theBinding'ssource object.Asavefailed because theBinding'ssource property is unwriteable for theBinding'ssource object.Asavefailed because theBinding'starget property is unreadable for theBinding'starget object.Arefreshfailed because theBinding'starget property is unwriteable for theBinding'starget object.Asavefailed due to a validation failure on the value returned by theBinding'starget property for theBinding'starget object. -
Method Summary
Modifier and TypeMethodDescriptionstatic Binding.SyncFailureTypeReturns 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
Arefreshfailed because theBinding'starget property is unwriteable for theBinding'starget object. -
SOURCE_UNWRITEABLE
Asavefailed because theBinding'ssource property is unwriteable for theBinding'ssource object. -
TARGET_UNREADABLE
Asavefailed because theBinding'starget property is unreadable for theBinding'starget object. -
SOURCE_UNREADABLE
Arefreshfailed because theBinding'ssource property is unreadable for theBinding'ssource object. -
CONVERSION_FAILED
Asavefailed due to a conversion failure on the value returned by theBinding'starget property for theBinding'starget object. -
VALIDATION_FAILED
Asavefailed due to a validation failure on the value returned by theBinding'starget property for theBinding'starget 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
-