Class DataReferenceDecorator<R extends DataDtoReference>
- java.lang.Object
-
- org.nuiton.decorator.Decorator<O>
-
- org.nuiton.decorator.JXPathDecorator<O>
-
- org.nuiton.decorator.MultiJXPathDecorator<E>
-
- fr.ird.observe.dto.decoration.decorators.ObserveDecorator<R>
-
- fr.ird.observe.dto.decoration.decorators.DataReferenceDecorator<R>
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DataReferenceDecorator<R extends DataDtoReference> extends ObserveDecorator<R> implements Cloneable
- Author:
- Kevin Morin (Code Lutin)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.nuiton.decorator.JXPathDecorator
context, initialExpression, nbToken
-
Fields inherited from class org.nuiton.decorator.MultiJXPathDecorator
contexts, separator, separatorReplacement
-
Fields inherited from class fr.ird.observe.dto.decoration.decorators.ObserveDecorator
DEFAULT_SEPARATOR, DEFAULT_SEPARATOR_REPLACEMENT
-
-
Constructor Summary
Constructors Constructor Description DataReferenceDecorator(Class<R> type, String expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Comparable<Comparable<?>>getTokenValue(org.apache.commons.jxpath.JXPathContext jxcontext, String token)StringtoString(Object bean)-
Methods inherited from class org.nuiton.decorator.JXPathDecorator
ensureTokenIndex, getExpression, getInitialExpression, getNbToken, getProperty, getTokens, setContext, toString
-
Methods inherited from class org.nuiton.decorator.MultiJXPathDecorator
ensureContextIndex, getComparator, getNbContext, getSeparator, getSeparatorReplacement, setContextIndex
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from class fr.ird.observe.dto.decoration.decorators.ObserveDecorator
clone, getDefaultNullValue, getDefaultUndefinedValue, getValueFromReference
-
-
-
-
Method Detail
-
getTokenValue
protected Comparable<Comparable<?>> getTokenValue(org.apache.commons.jxpath.JXPathContext jxcontext, String token)
- Overrides:
getTokenValuein classObserveDecorator<R extends DataDtoReference>
-
toString
public String toString(Object bean)
- Overrides:
toStringin classorg.nuiton.decorator.JXPathDecorator<R extends DataDtoReference>
-
-