protected static class AbstractPojoPathNavigator.CachingPojoPath extends BasicPojoPath
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.| Modifier and Type | Field and Description |
|---|---|
private AbstractPojoPathNavigator.CachingPojoPath |
parent |
private Object |
pojo |
private Class<?> |
pojoClass |
private GenericType<?> |
pojoType |
SEPARATOR| Constructor and Description |
|---|
CachingPojoPath(Object pojo,
Class<?> pojoClass)
The constructor for the root-path.
|
CachingPojoPath(Object pojo,
Class<?> pojoClass,
GenericType<?> pojoType)
The constructor for the root-path.
|
CachingPojoPath(String pojoPath)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractPojoPathNavigator.CachingPojoPath |
getParent() |
Object |
getPojo()
|
Class<?> |
getPojoClass()
|
GenericType<?> |
getPojoType()
|
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. |
getFunction, getIndex, getParentPath, getPojoPath, getSegment, toStringprivate AbstractPojoPathNavigator.CachingPojoPath parent
private GenericType<?> pojoType
private Class<?> pojoClass
private Object pojo
public CachingPojoPath(String pojoPath)
pojoPath - is the path to represent.public 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 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.public AbstractPojoPathNavigator.CachingPojoPath getParent()
public void setParent(AbstractPojoPathNavigator.CachingPojoPath parent)
parent - is the parent to setpublic GenericType<?> getPojoType()
null if NOT set.public void setPojoType(GenericType<?> pojoType)
pojo-type.pojoType - is the pojo-type to set.public Class<?> getPojoClass()
null if NOT set.public void setPojoClass(Class<?> pojoClass)
pojo-class.pojoClass - is the pojo-class to set.public void setPojo(Object pojo)
pojo-instance.pojo - is the pojo-instance.Copyright © 2001–2016 mmm-Team. All rights reserved.