- <init>
Create a Path object using class constraints from a Map. Unlike the other
constructor, the stringPat
- getEndFieldDescriptor
Return the FieldDescriptor of the last element in the path or null if the path
has just one element.
- getLastClassDescriptor
Returns the last ClassDescriptor in the path. If the last element is an
attribute, then the class be
- getElementClassDescriptors
Return a List of the ClassDescriptor objects for each element of the path.
- getElements
Return a list of field names, one per path element (except for the first, which
is a class). To clar
- getEndType
Return the type of the last element in the path, regardless of whether it is an
attribute or a class
- getNoConstraintsString
Required for jsp
- getPrefix
Return a Path object that represents the prefix of this path, ie this Path
without the last element.
- getStartClassDescriptor
Return the ClassDescriptor of the first element in the path. eg. for
Department.name, return the Dep
- isRootPath
Return true if this path represents just the starting class, e.g. 'Department'.
Returns false of the
- toString
Returns a representation of the Path as a String, with class constraint markers.
eg. "Department.emp
- toStringNoConstraints
Returns a representation of the Path as a String, with no class constraint
markers. eg. "Department.