Class BinderConfiguration.Binding

java.lang.Object
org.springframework.webflow.engine.builder.BinderConfiguration.Binding
Enclosing class:
BinderConfiguration

public static final class BinderConfiguration.Binding extends Object
A binding that provides the information needed to connect an element of the view to a property of the model.
Author:
Keith Donald
  • Constructor Details

    • Binding

      public Binding(String property, String converter, boolean required)
      Creates a new view binding
      Parameters:
      property - the model property to bind to
      converter - the id of a custom converter to apply type conversion during binding
      required - whether this binding is required
  • Method Details

    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getProperty

      public String getProperty()
      The name of the bound property.
      Returns:
      the property
    • getConverter

      public String getConverter()
      The id of the custom converter to use to convert bound property values.
      Returns:
      the converter id, or null
    • getRequired

      public boolean getRequired()
      Whether a non-empty value is required for each binding attempt.
      Returns:
      the required status
    • toString

      public String toString()
      Overrides:
      toString in class Object