public interface AccessPathEvaluator
| Modifier and Type | Field and Description |
|---|---|
static Object |
UNMODIFIED_HANDLE
Pseudo value indicating an unmodified access point handle.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
createDefaultValue(Map attributes)
Yields the default value used in case of a missing data value.
|
Object |
createInitialValue(Map attributes)
Yields the initial value for a newly instantiated data values.
|
Object |
evaluate(Map attributes,
Object accessPoint,
String outPath)
Evaluates an out data path by applying the
outPath expression against
the given accessPoint and returning the resulting value. |
Object |
evaluate(Map attributes,
Object accessPoint,
String inPath,
Object value)
Evaluates an in data path by applying the
inPath expression
parametrized with the given value against the given
accessPoint and returns the result, if appropriate. |
static final Object UNMODIFIED_HANDLE
Object evaluate(Map attributes, Object accessPoint, String outPath)
outPath expression against
the given accessPoint and returning the resulting value.attributes - The access point definition's attributes.accessPoint - The actual access point.outPath - The dereference path to be applied.Object evaluate(Map attributes, Object accessPoint, String inPath, Object value)
inPath expression
parametrized with the given value against the given
accessPoint and returns the result, if appropriate.attributes - The access point definition's attributes.accessPoint - The actual access point.inPath - The dereference path to be used when applying the given value.value - The new value to be applied to the access point.UNMODIFIED_HANDLE if the
access point did not change its identity.Object createInitialValue(Map attributes)
attributes - The access point definition's attributes.Copyright © 2016 Eclipse Stardust. All Rights Reserved.