public abstract class NodeImpl extends Object implements javax.validation.Path.Node, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeImpl.BeanNodeImpl |
static class |
NodeImpl.ConstructorNodeImpl |
static class |
NodeImpl.ContainerElementNodeImpl |
static class |
NodeImpl.CrossParameterNodeImpl |
static class |
NodeImpl.MethodNodeImpl |
static class |
NodeImpl.ParameterNodeImpl |
static class |
NodeImpl.PropertyNodeImpl |
static class |
NodeImpl.ReturnValueNodeImpl |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<javax.validation.Path.Node> |
NODE_COMPARATOR
Comparator for any path
Path.Node. |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
appendNode(javax.validation.Path.Node node,
StringBuilder to)
Append a Node to the specified StringBuilder.
|
<T extends javax.validation.Path.Node> |
as(Class<T> nodeType) |
static NodeImpl |
atIndex(Integer index)
Get a NodeImpl indexed from the preceding node (or root).
|
static NodeImpl |
atKey(Object key)
Get a NodeImpl keyed from the preceding node (or root).
|
boolean |
equals(Object o) |
Class<?> |
getContainerClass() |
Integer |
getIndex() |
Object |
getKey() |
String |
getName() |
int |
getParameterIndex() |
List<Class<?>> |
getParameterTypes() |
Integer |
getTypeArgumentIndex() |
int |
hashCode() |
NodeImpl |
inContainer(Class<?> containerType,
Integer typeArgumentIndex) |
NodeImpl |
inIterable() |
boolean |
isInIterable() |
void |
setIndex(Integer index)
Set the index of this node, implying
inIterable. |
void |
setInIterable(boolean inIterable)
|
void |
setKey(Object key)
Set the map key of this node, implying
inIterable. |
void |
setName(String name) |
void |
setParameterIndex(Integer parameterIndex) |
void |
setParameterTypes(List<Class<?>> parameterTypes) |
String |
toString() |
public static final Comparator<javax.validation.Path.Node> NODE_COMPARATOR
Path.Node. For iterable nodes with no, or null, key and index values
the left operand is always treated as less than the right.public static StringBuilder appendNode(javax.validation.Path.Node node, StringBuilder to)
node - to - public static NodeImpl atIndex(Integer index)
index - public static NodeImpl atKey(Object key)
key - public String getName()
getName in interface javax.validation.Path.Nodepublic void setName(String name)
name - the name to setpublic boolean isInIterable()
isInIterable in interface javax.validation.Path.Nodepublic void setInIterable(boolean inIterable)
inIterable - public Integer getIndex()
getIndex in interface javax.validation.Path.Nodepublic void setIndex(Integer index)
inIterable.index - public void setParameterIndex(Integer parameterIndex)
public Object getKey()
getKey in interface javax.validation.Path.Nodepublic void setKey(Object key)
inIterable.key - public <T extends javax.validation.Path.Node> T as(Class<T> nodeType)
as in interface javax.validation.Path.Nodepublic String toString()
public int getParameterIndex()
public Class<?> getContainerClass()
public Integer getTypeArgumentIndex()
public NodeImpl inIterable()
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.