Enum Binding.SyncFailureType

java.lang.Object
java.lang.Enum<Binding.SyncFailureType>
org.jdesktop.beansbinding.Binding.SyncFailureType
All Implemented Interfaces:
Serializable, Comparable<Binding.SyncFailureType>, java.lang.constant.Constable
Enclosing class:
Binding<SS,SV,TS,TV>

public static enum Binding.SyncFailureType extends Enum<Binding.SyncFailureType>
An enumeration representing the reasons a sync (save or refresh) can fail on a Binding.
See Also:
  • Enum Constant Details

    • TARGET_UNWRITEABLE

      public static final Binding.SyncFailureType TARGET_UNWRITEABLE
      A refresh failed because the Binding's target property is unwriteable for the Binding's target object.
    • SOURCE_UNWRITEABLE

      public static final Binding.SyncFailureType SOURCE_UNWRITEABLE
      A save failed because the Binding's source property is unwriteable for the Binding's source object.
    • TARGET_UNREADABLE

      public static final Binding.SyncFailureType TARGET_UNREADABLE
      A save failed because the Binding's target property is unreadable for the Binding's target object.
    • SOURCE_UNREADABLE

      public static final Binding.SyncFailureType SOURCE_UNREADABLE
      A refresh failed because the Binding's source property is unreadable for the Binding's source object.
    • CONVERSION_FAILED

      public static final Binding.SyncFailureType 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.
    • VALIDATION_FAILED

      public static final Binding.SyncFailureType 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.
  • Method Details

    • values

      public static Binding.SyncFailureType[] 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

      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 name
      NullPointerException - if the argument is null