Package org.zkoss.bind.impl
Class Path
java.lang.Object
org.zkoss.bind.impl.Path
Class that holding a dot series path and process Form field name.
- Since:
- 6.0.0
- Author:
- henrichen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns the path as a String for Form access purpose.Returns the base path of this dot series path for tracking purpose.Returns the path as a String for tracking purpose.Returns the path as a List of field names.Returns the last field name of this dot series path for tracking purpose.intsize()toString()
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
add
-
size
public int size() -
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
Returns the path as a String for tracking purpose.- Returns:
- the path as a String for tracking purpose.
-
getTrackFieldsList
Returns the path as a List of field names.- Returns:
- the path as a List of field names.
-
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
-
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.
-