Class Path

java.lang.Object
org.zkoss.bind.impl.Path

public class Path extends Object
Class that holding a dot series path and process Form field name.
Since:
6.0.0
Author:
henrichen
  • Constructor Details

    • Path

      public Path()
  • Method Details

    • add

      public void add(String origin, String evaled)
    • size

      public int size()
    • getAccessFieldName

      public String getAccessFieldName()
      Returns the path as a String for Form access purpose. This implementation evaluate indirect bracket to final field name.
      Returns:
      the path as a String for Form access purpose.
    • getTrackFieldName

      public String getTrackFieldName()
      Returns the path as a String for tracking purpose.
      Returns:
      the path as a String for tracking purpose.
    • getTrackFieldsList

      public List<String> getTrackFieldsList()
      Returns the path as a List of field names.
      Returns:
      the path as a List of field names.
    • getTrackBasePath

      public String getTrackBasePath()
      Returns the base path of this dot series path for tracking purpose. ex, base path of 'vm.person.address.fullstreet' will be 'vm.person.address' so, a 'fullstreet' depends-on 'city' in address will add that 'vm.person.address.fullstreet' depends on 'vm.person.address'.'city'
      Returns:
      the path before the last dot
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTrackProperty

      public String getTrackProperty()
      Returns the last field name of this dot series path for tracking purpose.
      Returns:
      the last field name of this dot series path for tracking purpose.