@Test public void testGetCalcFunctionLongDesc() { assertNull( CalculatorMetaFunction.getCalcFunctionLongDesc( Integer.MIN_VALUE ) ); assertNull( CalculatorMetaFunction.getCalcFunctionLongDesc( Integer.MAX_VALUE ) ); assertNull( CalculatorMetaFunction.getCalcFunctionLongDesc( CalculatorMetaFunction.calcLongDesc.length ) ); }
public static String getCalcFunctionLongDesc( int type ) { if ( type < 0 || type >= calcLongDesc.length ) { return null; } return calcLongDesc[ type ]; }
CalculatorMetaFunction implements Cloneable { public static String getCalcFunctionLongDesc( int type ) { if ( type < 0 || type >= calcLongDesc.length ) { return null; } return calcLongDesc[ type ]; } }
CalculatorMetaFunction implements Cloneable { public static String getCalcFunctionLongDesc( int type ) { if ( type < 0 || type >= calcLongDesc.length ) { return null; } return calcLongDesc[ type ]; } CalculatorMetaFunction( String fieldName, int calcType, String fieldA, String fieldB, String fieldC,
                                 int valueType, int valueLength, int valuePrecision, boolean removedFromResult,
                                 String conversionMask,
                                 String decimalSymbol, String groupingSymbol, String currencySymbol );  CalculatorMetaFunction();  CalculatorMetaFunction( Node calcnode );  CalculatorMetaFunction( Repository rep, ObjectId id_step, int nr ); }
CalculatorMetaFunction implements Cloneable { public static String getCalcFunctionLongDesc( int type ) { if ( type < 0 || type >= calcLongDesc.length ) { return null; } return calcLongDesc[ type ]; } CalculatorMetaFunction( String fieldName, int calcType, String fieldA, String fieldB, String fieldC,
                                 int valueType, int valueLength, int valuePrecision, boolean removedFromResult,
                                 String conversionMask,
                                 String decimalSymbol, String groupingSymbol, String currencySymbol );  CalculatorMetaFunction();  CalculatorMetaFunction( Node calcnode );  CalculatorMetaFunction( Repository rep, ObjectId id_step, int nr ); @Override boolean equals( Object obj ); @Override int hashCode(); @Override Object clone(); String getXML(); void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step, int nr ); static int getCalcFunctionType( String desc ); static String getCalcFunctionDesc( int type ); static String getCalcFunctionLongDesc( int type ); static int getCalcFunctionDefaultResultType( int type ); int getCalcType(); void setCalcType( int calcType ); String getCalcTypeDesc(); String getCalcTypeLongDesc(); String getFieldA(); void setFieldA( String fieldA ); String getFieldB(); void setFieldB( String fieldB ); String getFieldC(); void setFieldC( String fieldC ); String getFieldName(); void setFieldName( String fieldName ); int getValueLength(); void setValueLength( int valueLength ); int getValuePrecision(); void setValuePrecision( int valuePrecision ); int getValueType(); void setValueType( int valueType ); boolean isRemovedFromResult(); void setRemovedFromResult( boolean removedFromResult ); String getConversionMask(); void setConversionMask( String conversionMask ); String getDecimalSymbol(); void setDecimalSymbol( String decimalSymbol ); String getGroupingSymbol(); void setGroupingSymbol( String groupingSymbol ); String getCurrencySymbol(); void setCurrencySymbol( String currencySymbol ); }
CalculatorMetaFunction implements Cloneable { public static String getCalcFunctionLongDesc( int type ) { if ( type < 0 || type >= calcLongDesc.length ) { return null; } return calcLongDesc[ type ]; } CalculatorMetaFunction( String fieldName, int calcType, String fieldA, String fieldB, String fieldC,
                                 int valueType, int valueLength, int valuePrecision, boolean removedFromResult,
                                 String conversionMask,
                                 String decimalSymbol, String groupingSymbol, String currencySymbol );  CalculatorMetaFunction();  CalculatorMetaFunction( Node calcnode );  CalculatorMetaFunction( Repository rep, ObjectId id_step, int nr ); @Override boolean equals( Object obj ); @Override int hashCode(); @Override Object clone(); String getXML(); void saveRep( Repository rep, IMetaStore metaStore, ObjectId id_transformation, ObjectId id_step, int nr ); static int getCalcFunctionType( String desc ); static String getCalcFunctionDesc( int type ); static String getCalcFunctionLongDesc( int type ); static int getCalcFunctionDefaultResultType( int type ); int getCalcType(); void setCalcType( int calcType ); String getCalcTypeDesc(); String getCalcTypeLongDesc(); String getFieldA(); void setFieldA( String fieldA ); String getFieldB(); void setFieldB( String fieldB ); String getFieldC(); void setFieldC( String fieldC ); String getFieldName(); void setFieldName( String fieldName ); int getValueLength(); void setValueLength( int valueLength ); int getValuePrecision(); void setValuePrecision( int valuePrecision ); int getValueType(); void setValueType( int valueType ); boolean isRemovedFromResult(); void setRemovedFromResult( boolean removedFromResult ); String getConversionMask(); void setConversionMask( String conversionMask ); String getDecimalSymbol(); void setDecimalSymbol( String decimalSymbol ); String getGroupingSymbol(); void setGroupingSymbol( String groupingSymbol ); String getCurrencySymbol(); void setCurrencySymbol( String currencySymbol ); static final String XML_TAG; static final int CALC_NONE; static final int CALC_CONSTANT; static final int CALC_COPY_OF_FIELD; static final int CALC_ADD; static final int CALC_SUBTRACT; static final int CALC_MULTIPLY; static final int CALC_DIVIDE; static final int CALC_SQUARE; static final int CALC_SQUARE_ROOT; static final int CALC_PERCENT_1; static final int CALC_PERCENT_2; static final int CALC_PERCENT_3; static final int CALC_COMBINATION_1; static final int CALC_COMBINATION_2; static final int CALC_ROUND_1; static final int CALC_ROUND_2; static final int CALC_ROUND_STD_1; static final int CALC_ROUND_STD_2; static final int CALC_CEIL; static final int CALC_FLOOR; static final int CALC_NVL; static final int CALC_ADD_DAYS; static final int CALC_YEAR_OF_DATE; static final int CALC_MONTH_OF_DATE; static final int CALC_DAY_OF_YEAR; static final int CALC_DAY_OF_MONTH; static final int CALC_DAY_OF_WEEK; static final int CALC_WEEK_OF_YEAR; static final int CALC_WEEK_OF_YEAR_ISO8601; static final int CALC_YEAR_OF_DATE_ISO8601; static final int CALC_BYTE_TO_HEX_ENCODE; static final int CALC_HEX_TO_BYTE_DECODE; static final int CALC_CHAR_TO_HEX_ENCODE; static final int CALC_HEX_TO_CHAR_DECODE; static final int CALC_CRC32; static final int CALC_ADLER32; static final int CALC_MD5; static final int CALC_SHA1; static final int CALC_LEVENSHTEIN_DISTANCE; static final int CALC_METAPHONE; static final int CALC_DOUBLE_METAPHONE; static final int CALC_ABS; static final int CALC_REMOVE_TIME_FROM_DATE; static final int CALC_DATE_DIFF; static final int CALC_ADD3; static final int CALC_INITCAP; static final int CALC_UPPER_CASE; static final int CALC_LOWER_CASE; static final int CALC_MASK_XML; static final int CALC_USE_CDATA; static final int CALC_REMOVE_CR; static final int CALC_REMOVE_LF; static final int CALC_REMOVE_CRLF; static final int CALC_REMOVE_TAB; static final int CALC_GET_ONLY_DIGITS; static final int CALC_REMOVE_DIGITS; static final int CALC_STRING_LEN; static final int CALC_LOAD_FILE_CONTENT_BINARY; static final int CALC_ADD_TIME_TO_DATE; static final int CALC_QUARTER_OF_DATE; static final int CALC_SUBSTITUTE_VARIABLE; static final int CALC_UNESCAPE_XML; static final int CALC_ESCAPE_HTML; static final int CALC_UNESCAPE_HTML; static final int CALC_ESCAPE_SQL; static final int CALC_DATE_WORKING_DIFF; static final int CALC_ADD_MONTHS; static final int CALC_CHECK_XML_FILE_WELL_FORMED; static final int CALC_CHECK_XML_WELL_FORMED; static final int CALC_GET_FILE_ENCODING; static final int CALC_DAMERAU_LEVENSHTEIN; static final int CALC_NEEDLEMAN_WUNSH; static final int CALC_JARO; static final int CALC_JARO_WINKLER; static final int CALC_SOUNDEX; static final int CALC_REFINED_SOUNDEX; static final int CALC_ADD_HOURS; static final int CALC_ADD_MINUTES; static final int CALC_DATE_DIFF_MSEC; static final int CALC_DATE_DIFF_SEC; static final int CALC_DATE_DIFF_MN; static final int CALC_DATE_DIFF_HR; static final int CALC_HOUR_OF_DAY; static final int CALC_MINUTE_OF_HOUR; static final int CALC_SECOND_OF_MINUTE; static final int CALC_ROUND_CUSTOM_1; static final int CALC_ROUND_CUSTOM_2; static final int CALC_ADD_SECONDS; static final int CALC_REMAINDER; static final String[] calc_desc; static final String[] calcLongDesc; static final int[] calcDefaultResultType; }