| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Set | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(final FieldLocation
the object to be compared. other)Implements java. |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public boolean | |
| public boolean | |
| public FieldLocation | |
| public List | |
| public String | |
| public String | |
| public String | |
| public boolean | Returns: true if this has the given child (direct or indirect), false otherwise.the field to check for being a child child)Returns true if this field has the given child (direct or indirect), false otherwise. |
| public int | |
| public boolean | Returns: true if this has the given parent (direct or indirect), false otherwise.the field to check for being a parent parent)Returns true if this has the given parent (direct or indirect), false otherwise. |
| public boolean | Returns: true if this fieldLocation is the given fieldPath or a child of it, false otherwise.the field path to test fieldPath)Checks whether this fieldLocation or any of its parents matches the given fieldPath. |
| public boolean | Returns: true, this fieldLocation or any of its parent matches the given regex., false otherwise.the regex to test regex)Checks whether this fieldLocation or any of its parents matches the given regex. |
| public boolean | |
| private boolean | |
| public boolean | |
| public boolean | Returns: true if it exactly matches this field, false otherwisefield path to check fieldPath)
Deprecated
use
Reruns true if it exactly matches this field, false otherwise.
exactlyMatches(String) instead.
|
| public boolean | Returns: true if it exactly matches this field, false otherwisefield to check field)
Deprecated
use
Reruns true if it exactly matches this field, false otherwise.
exactlyMatches(String) instead.
|
| private String | |
| private Set | |
| private static String | |
| public static FieldLocation | |
| public String | |
| public String |
| decomposedPath | back to summary |
|---|---|
| private final List<String> decomposedPath | |
| pathsHierarchyToUseInRules | back to summary |
|---|---|
| private final Set<String> pathsHierarchyToUseInRules | |
| pathToUseInRules | back to summary |
|---|---|
| private final String pathToUseInRules | |
| FieldLocation | back to summary |
|---|---|
| public FieldLocation(List<String> path) | |
| FieldLocation | back to summary |
|---|---|
| public FieldLocation(String s) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(final FieldLocation other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| exactlyMatches | back to summary |
|---|---|
| public boolean exactlyMatches(FieldLocation field) | |
| exactlyMatches | back to summary |
|---|---|
| public boolean exactlyMatches(String fieldPath) | |
| field | back to summary |
|---|---|
| public FieldLocation field(String field) | |
| getDecomposedPath | back to summary |
|---|---|
| public List | |
| getFieldName | back to summary |
|---|---|
| public String getFieldName() | |
| getPathToUseInErrorReport | back to summary |
|---|---|
| public String getPathToUseInErrorReport() | |
| getPathToUseInRules | back to summary |
|---|---|
| public String getPathToUseInRules() | |
| hasChild | back to summary |
|---|---|
| public boolean hasChild(FieldLocation child) Returns true if this field has the given child (direct or indirect), false otherwise. Examples:
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| hasParent | back to summary |
|---|---|
| public boolean hasParent(FieldLocation parent) Returns true if this has the given parent (direct or indirect), false otherwise. Examples:
| |
| hierarchyMatches | back to summary |
|---|---|
| public boolean hierarchyMatches(String fieldPath) Checks whether this fieldLocation or any of its parents matches the given fieldPath. Examples:
| |
| hierarchyMatchesRegex | back to summary |
|---|---|
| public boolean hierarchyMatchesRegex(Pattern regex) Checks whether this fieldLocation or any of its parents matches the given regex. Examples:
| |
| isRoot | back to summary |
|---|---|
| public boolean isRoot() | |
| isRootPath | back to summary |
|---|---|
| private boolean isRootPath(String pathToUseInRules) | |
| isTopLevelField | back to summary |
|---|---|
| public boolean isTopLevelField() | |
| matches | back to summary |
|---|---|
| public boolean matches(String fieldPath)
Deprecated use Reruns true if it exactly matches this field, false otherwise.
| |
| matches | back to summary |
|---|---|
| public boolean matches(FieldLocation field)
Deprecated use Reruns true if it exactly matches this field, false otherwise.
| |
| parent | back to summary |
|---|---|
| private String parent(String currentPath) | |
| pathsHierarchyToUseInRules | back to summary |
|---|---|
| private Set | |
| pathToUseInRules | back to summary |
|---|---|
| private static String pathToUseInRules(List<String> path) | |
| rootFieldLocation | back to summary |
|---|---|
| public static FieldLocation rootFieldLocation() | |
| shortDescription | back to summary |
|---|---|
| public String shortDescription() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |