org.hibernate.validator.internal.engine
Class NodeImpl
java.lang.Object
org.hibernate.validator.internal.engine.NodeImpl
- All Implemented Interfaces:
- Serializable, javax.validation.Path.Node
- Direct Known Subclasses:
- MethodParameterNodeImpl, MethodReturnValueNodeImpl
public class NodeImpl
- extends Object
- implements javax.validation.Path.Node, Serializable
Immutable implementation of a Path.Node.
- Author:
- Hardy Ferentschik
- See Also:
- Serialized Form
INDEX_OPEN
public static final String INDEX_OPEN
- See Also:
- Constant Field Values
INDEX_CLOSE
public static final String INDEX_CLOSE
- See Also:
- Constant Field Values
NodeImpl
public NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key)
getName
public final String getName()
- Specified by:
getName in interface javax.validation.Path.Node
isInIterable
public final boolean isInIterable()
- Specified by:
isInIterable in interface javax.validation.Path.Node
isIterable
public final boolean isIterable()
getIndex
public final Integer getIndex()
- Specified by:
getIndex in interface javax.validation.Path.Node
getKey
public final Object getKey()
- Specified by:
getKey in interface javax.validation.Path.Node
getParent
public final NodeImpl getParent()
toString
public String toString()
- Overrides:
toString in class Object
asString
public final String asString()
buildHashCode
public int buildHashCode()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2012 Oracle Corporation. All Rights Reserved.