|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.bval.jsr303.util.NodeImpl
public final class NodeImpl
Description: a node (property) as part of a Path.
(Implementation based on reference implementation)
| Constructor Summary | |
|---|---|
NodeImpl(Path.Node node)
Create a new NodeImpl instance. |
|
NodeImpl(String name)
Create a new NodeImpl instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Integer |
getIndex()
|
Object |
getKey()
|
String |
getName()
|
int |
hashCode()
|
boolean |
isInIterable()
|
void |
setIndex(Integer index)
Set the index of this node, implying inIterable. |
void |
setInIterable(boolean inIterable)
Set whether this node represents a contained value of an Iterable or Map. |
void |
setKey(Object key)
Set the map key of this node, implying inIterable. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NodeImpl(String name)
name - NodeImpl(Path.Node node)
node - | Method Detail |
|---|
public String getName()
getName in interface Path.Nodepublic boolean isInIterable()
isInIterable in interface Path.Nodepublic void setInIterable(boolean inIterable)
Iterable or Map.
inIterable - public Integer getIndex()
getIndex in interface Path.Nodepublic void setIndex(Integer index)
inIterable.
index - public Object getKey()
getKey in interface Path.Nodepublic void setKey(Object key)
inIterable.
key - public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||