Package org.jdesktop.beansbinding
Enum Binding.SyncFailureType
- java.lang.Object
-
- java.lang.Enum<Binding.SyncFailureType>
-
- org.jdesktop.beansbinding.Binding.SyncFailureType
-
- All Implemented Interfaces:
Serializable,Comparable<Binding.SyncFailureType>
public static enum Binding.SyncFailureType extends Enum<Binding.SyncFailureType>
An enumeration representing the reasons a sync (saveorrefresh) can fail on aBinding.- See Also:
Binding.refresh(),Binding.save()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONVERSION_FAILEDAsavefailed due to a conversion failure on the value returned by theBinding'starget property for theBinding'starget object.SOURCE_UNREADABLEArefreshfailed because theBinding'ssource property is unreadable for theBinding'ssource object.SOURCE_UNWRITEABLEAsavefailed because theBinding'ssource property is unwriteable for theBinding'ssource object.TARGET_UNREADABLEAsavefailed because theBinding'starget property is unreadable for theBinding'starget object.TARGET_UNWRITEABLEArefreshfailed because theBinding'starget property is unwriteable for theBinding'starget object.VALIDATION_FAILEDAsavefailed due to a validation failure on the value returned by theBinding'starget property for theBinding'starget object.VALIDATION_WARNINGTODO ;-)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Binding.SyncFailureTypevalueOf(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.
-
-
-
Enum Constant Detail
-
TARGET_UNWRITEABLE
public static final Binding.SyncFailureType TARGET_UNWRITEABLE
Arefreshfailed because theBinding'starget property is unwriteable for theBinding'starget object.
-
SOURCE_UNWRITEABLE
public static final Binding.SyncFailureType SOURCE_UNWRITEABLE
Asavefailed because theBinding'ssource property is unwriteable for theBinding'ssource object.
-
TARGET_UNREADABLE
public static final Binding.SyncFailureType TARGET_UNREADABLE
Asavefailed because theBinding'starget property is unreadable for theBinding'starget object.
-
SOURCE_UNREADABLE
public static final Binding.SyncFailureType SOURCE_UNREADABLE
Arefreshfailed because theBinding'ssource property is unreadable for theBinding'ssource object.
-
CONVERSION_FAILED
public static final Binding.SyncFailureType CONVERSION_FAILED
Asavefailed due to a conversion failure on the value returned by theBinding'starget property for theBinding'starget object.
-
VALIDATION_FAILED
public static final Binding.SyncFailureType VALIDATION_FAILED
Asavefailed due to a validation failure on the value returned by theBinding'starget property for theBinding'starget object.
-
VALIDATION_WARNING
public static final Binding.SyncFailureType VALIDATION_WARNING
TODO ;-)
-
-
Method Detail
-
values
public static Binding.SyncFailureType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Binding.SyncFailureType c : Binding.SyncFailureType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Binding.SyncFailureType valueOf(String name)
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
-
-