private String getMetaDataForTableField ( Form formDefinitionParam , boolean sumDecimalsParam ) { StringBuilder returnBuffer = new StringBuilder ( ) ; Long definitionId = ( formDefinitionParam == null ) ? - 1L : formDefinitionParam . getId ( ) ; //Min... returnBuffer . append ( definitionId ) ; returnBuffer . append ( FieldMetaData . TableField . UNDERSCORE ) ; returnBuffer . append ( FieldMetaData . TableField . SUM_DECIMALS ) ; returnBuffer . append ( FieldMetaData . Decimal . SQ_OPEN ) ; returnBuffer . append ( sumDecimalsParam ) ; returnBuffer . append ( FieldMetaData . Decimal . SQ_CLOSE ) ; return returnBuffer . toString ( ) ; }
Generates the Meta Data for a table field .