Package org.qdl_lang.util.aggregate
Class AbstractIdentityStemProcess
- java.lang.Object
- 
- org.qdl_lang.util.aggregate.AbstractIdentityStemProcess
 
- 
- All Implemented Interfaces:
- ProcessStemValues,- Constants
 - Direct Known Subclasses:
- AxisRestrictionIdentity,- IdentityScalarImpl
 
 public class AbstractIdentityStemProcess extends Object implements ProcessStemValues 
- 
- 
Field Summary- 
Fields inherited from interface org.qdl_lang.variables.ConstantsALL_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 SummaryConstructors Constructor Description AbstractIdentityStemProcess()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetDefaultValue(List<Object> index, Object key, Object value)This is what makes this the identity function.Objectprocess(List<Object> index, Object key, Boolean booleanValue)Objectprocess(List<Object> index, Object key, Long longValue)Objectprocess(List<Object> index, Object key, String stringValue)Objectprocess(List<Object> index, Object key, BigDecimal decimalValue)Objectprocess(List<Object> index, Object key, Module moduleValue)Objectprocess(List<Object> index, Object key, DyadicFunctionReferenceNode dyadicFunctionReferenceNode)Objectprocess(List<Object> index, Object key, FunctionReferenceNode frValue)Objectprocess(List<Object> index, Object key, QDLNull nullValue)Objectprocess(List<Object> index, Object key, QDLValue qdlValue)
 
- 
- 
- 
Method Detail- 
processpublic Object process(List<Object> index, Object key, Boolean booleanValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, String stringValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, Long longValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, BigDecimal decimalValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, QDLNull nullValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, Module moduleValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, FunctionReferenceNode frValue) - Specified by:
- processin interface- ProcessStemValues
 
 - 
processpublic Object process(List<Object> index, Object key, DyadicFunctionReferenceNode dyadicFunctionReferenceNode) - Specified by:
- processin interface- ProcessStemValues
 
 - 
getDefaultValuepublic Object getDefaultValue(List<Object> index, Object key, Object value) This is what makes this the identity function. If you want/need a different default value for each call, override this.- Parameters:
- value-
- Returns:
 
 
- 
 
-