public interface WorkObjectHierarchyValueGetters
Defines methods used to access the work object hierarchy values.
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getHierarchyValue(String name,
Class<T> requiredType)
Deprecated.
Please fetch the specific work object and use local value access instead.
|
<V> V |
getHierarchyValue(ValueAccessor<V> valueAccessor)
Deprecated.
Please fetch the specific work object and use local value access instead.
|
boolean |
hasHierarchyValue(String name)
Deprecated.
Please fetch the specific work object and use local value access instead.
|
boolean |
hasHierarchyValue(ValueAccessor<?> valueAccessor)
Deprecated.
Please fetch the specific work object and use local value access instead.
|
@Deprecated boolean hasHierarchyValue(String name)
Checks whether the work object has a value with the given name (including hierarchy values).
name - the name of the value to checktrue if a value exists with the given name@Deprecated boolean hasHierarchyValue(ValueAccessor<?> valueAccessor)
Checks whether the work object has a value with the given name (including hierarchy values).
valueAccessor - the the accessor from which to derive the nametrue if a value exists with the given name@Deprecated <T> T getHierarchyValue(String name, Class<T> requiredType)
Returns the value with the given name, cast to the expected type (including hierarchy values).
T - the required typename - the name of the value whose value to returnrequiredType - the required class of the value valueIllegalArgumentException - if the value does not have the required type@Deprecated <V> V getHierarchyValue(ValueAccessor<V> valueAccessor)
Returns the value defined by the accessor, de-serialized and cast to the expected type (including hierarchy values).
V - the expected value typevalueAccessor - the accessor from which to derive the name, deserialize the value, and cast to the expected typeIllegalArgumentException - if the value does not have the required typeCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.