Package org.qdl_lang.variables.values
Class StemValue
- java.lang.Object
-
- org.qdl_lang.variables.values.QDLValue
-
- org.qdl_lang.variables.values.QDLKey
-
- org.qdl_lang.variables.values.StemValue
-
- All Implemented Interfaces:
Serializable
,Comparable<QDLValue>
,Constants
public class StemValue extends QDLKey
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.qdl_lang.variables.values.QDLValue
axisValue, booleanValue, decimalValue, dyadicFunctionValue, functionValue, longValue, moduleValue, nullValue, setValue, stemValue, stringValue
-
Fields inherited from interface org.qdl_lang.variables.Constants
ALL_INDICES_NAME, ALL_INDICES_TYPE, ARG_COUNT_TYPE, AXIS_RESTRICTION_NAME, AXIS_RESTRICTION_TYPE, BOOLEAN_NAME, BOOLEAN_TYPE, DECIMAL_NAME, DECIMAL_TYPE, DYADIC_FUNCTION_NAME, DYADIC_FUNCTION_TYPE, FUNCTION_NAME, FUNCTION_TYPE, INTEGER_TYPE, LIST_NAME, LIST_TYPE, LONG_NAME, LONG_TYPE, MODULE_NAME, MODULE_TYPE, NULL_NAME, NULL_TYPE, SET_NAME, SET_TYPE, STEM_NAME, STEM_TYPE, STRING_NAME, STRING_TYPE, UNKNOWN_NAME, UNKNOWN_TYPE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromPath(String path)
Sets the stem from a path like a.b.c.d, resulting in a value of
['a','b','c','d']
N.B. that the first element is not the stem.-
Methods inherited from class org.qdl_lang.variables.values.QDLKey
decimalToLong, from, from
-
Methods inherited from class org.qdl_lang.variables.values.QDLValue
asAxisExpression, asBoolean, asDecimal, asDyadicFunction, asFunction, asJavaValue, asLong, asModule, asNull, asQDLValue, asSet, asStem, asString, castToJavaValues, castToJavaValues, castToQDLValueList, castToQDLValues, castToQDLValues, castToQDLValues, castToQDLValues, compareTo, equals, getInputForm, getNullValue, getType, getValue, hashCode, hasValue, isAllIndices, isAxisRestriction, isBoolean, isDecimal, isDyadicFunction, isFunction, isList, isListOrStem, isLong, isModule, isNull, isScalar, isSet, isStem, isString, setValue, toString
-
-
-
-
Method Detail
-
fromPath
public void fromPath(String path)
Sets the stem from a path like a.b.c.d, resulting in a value of
['a','b','c','d']
N.B. that the first element is not the stem. The result is a simple path that can be used to access the element. This crops up a fair bit in system programming.- Parameters:
path
-
-
-