|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.pojo.path.base.BasicPojoPath
net.sf.mmm.util.pojo.path.base.AbstractPojoPathNavigator.CachingPojoPath
protected static class AbstractPojoPathNavigator.CachingPojoPath
This class represents a PojoPath. It
contains the internal logic to validate and parse the
PojoPath. Additional it can also hold
the result of the evaluation and the
generic type.
| Field Summary | |
|---|---|
private AbstractPojoPathNavigator.CachingPojoPath |
parent
|
private Object |
pojo
|
private Class<?> |
pojoClass
|
private GenericType<?> |
pojoType
|
| Fields inherited from interface net.sf.mmm.util.pojo.path.api.PojoPath |
|---|
SEPARATOR |
| Constructor Summary | |
|---|---|
AbstractPojoPathNavigator.CachingPojoPath(Object pojo,
Class<?> pojoClass)
The constructor for the root-path. |
|
AbstractPojoPathNavigator.CachingPojoPath(Object pojo,
Class<?> pojoClass,
GenericType<?> pojoType)
The constructor for the root-path. |
|
AbstractPojoPathNavigator.CachingPojoPath(String pojoPath)
The constructor. |
|
| Method Summary | |
|---|---|
AbstractPojoPathNavigator.CachingPojoPath |
getParent()
|
Object |
getPojo()
This method gets the Pojo instance this
PojoPath is leading to. |
Class<?> |
getPojoClass()
This method get the Class of the Pojo this
PojoPath is leading to. |
GenericType<?> |
getPojoType()
This method gets the type of the Pojo
this PojoPath is leading to. |
void |
setParent(AbstractPojoPathNavigator.CachingPojoPath parent)
|
void |
setPojo(Object pojo)
This method sets the pojo-instance. |
void |
setPojoClass(Class<?> pojoClass)
This method sets the pojo-class. |
void |
setPojoType(GenericType<?> pojoType)
This method sets the pojo-type. |
| Methods inherited from class net.sf.mmm.util.pojo.path.base.BasicPojoPath |
|---|
getFunction, getIndex, getParentPath, getPojoPath, getSegment, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private AbstractPojoPathNavigator.CachingPojoPath parent
getParent()private GenericType<?> pojoType
getPojoType()private Class<?> pojoClass
getPojoClass()private Object pojo
getPojo()| Constructor Detail |
|---|
public AbstractPojoPathNavigator.CachingPojoPath(String pojoPath)
pojoPath - is the path to represent.
public AbstractPojoPathNavigator.CachingPojoPath(Object pojo,
Class<?> pojoClass)
pojo - is the initial pojo. It may be
null if invoked via
getType.pojoClass - is the initial pojo-class.
public AbstractPojoPathNavigator.CachingPojoPath(Object pojo,
Class<?> pojoClass,
GenericType<?> pojoType)
pojo - is the initial pojo. It may be
null if invoked via
getType.pojoClass - is the initial pojo-class.pojoType - is the initial pojo-type.| Method Detail |
|---|
public AbstractPojoPathNavigator.CachingPojoPath getParent()
public void setParent(AbstractPojoPathNavigator.CachingPojoPath parent)
parent - is the parent to setpublic GenericType<?> getPojoType()
type of the Pojo
this PojoPath is leading to.
null if NOT set.public void setPojoType(GenericType<?> pojoType)
pojo-type.
pojoType - is the pojo-type to set.public Class<?> getPojoClass()
Class of the Pojo this
PojoPath is leading to.
null if NOT set.public void setPojoClass(Class<?> pojoClass)
pojo-class.
pojoClass - is the pojo-class to set.public Object getPojo()
Pojo instance this
PojoPath is leading to.
Pojo or null.public void setPojo(Object pojo)
pojo-instance.
pojo - is the pojo-instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||