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