org.hibernate.validator.internal.engine.path
Class NodeImpl
java.lang.Object
org.hibernate.validator.internal.engine.path.NodeImpl
- All Implemented Interfaces:
- Serializable, Path.Node
public class NodeImpl
- extends Object
- implements Path.Node, Serializable
Immutable implementation of a Path.Node.
- Author:
- Hardy Ferentschik
- See Also:
- Serialized Form
|
Constructor Summary |
NodeImpl(NodeImpl oldNode,
NodeImpl parent,
ElementDescriptor elementDescriptor)
|
NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key)
|
NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key,
ElementDescriptor descriptor)
|
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(NodeImpl oldNode,
NodeImpl parent,
ElementDescriptor elementDescriptor)
NodeImpl
public NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key)
NodeImpl
public NodeImpl(String name,
NodeImpl parent,
boolean indexable,
Integer index,
Object key,
ElementDescriptor descriptor)
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()
getElementDescriptor
public ElementDescriptor getElementDescriptor()
- Specified by:
getElementDescriptor in interface Path.Node
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 © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved