org.hibernate.validator.engine
Class NodeImpl
java.lang.Object
org.hibernate.validator.engine.NodeImpl
- All Implemented Interfaces:
- Serializable, Path.Node
- Direct Known Subclasses:
- MethodParameterNodeImpl, MethodReturnValueNodeImpl
public class NodeImpl
- extends Object
- implements 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 Path.Node
isInIterable
public final boolean isInIterable()
- Specified by:
isInIterable
in interface Path.Node
isIterable
public final boolean isIterable()
getIndex
public final Integer getIndex()
- Specified by:
getIndex
in interface Path.Node
getKey
public final Object getKey()
- Specified by:
getKey
in interface Path.Node
getParent
public final NodeImpl getParent()
toString
public String toString()
- Overrides:
toString
in class Object
asString
public final String asString()
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved