Package org.qdl_lang.variables.values
Class StringValue
- java.lang.Object
-
- org.qdl_lang.variables.values.QDLValue
-
- org.qdl_lang.variables.values.QDLKey
-
- org.qdl_lang.variables.values.StringValue
-
- All Implemented Interfaces:
Serializable
,Comparable<QDLValue>
,Constants
public class StringValue 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
-
-
Constructor Summary
Constructors Constructor Description StringValue()
Convenience constructor for empty string.StringValue(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
asLong()
For use as aQDLKey
, it is possible that this is really the string representation of a long index.boolean
isLong()
-
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, 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, isModule, isNull, isScalar, isSet, isStem, isString, setValue, toString
-
-
-
-
Constructor Detail
-
StringValue
public StringValue(String value)
-
StringValue
public StringValue()
Convenience constructor for empty string.
-
-