test_class.file: sql12/fw/src/test/java/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeFloatTest.java
test_class.identifier: DataTypeFloatTest
test_class.superclass: extends FloatingPointBaseTest <Float>
test_case.body: @Override
  	@Test
  	public void testGetWhereClauseValue() {
  		ColumnDisplayDefinition localMockColumnDisplayDefinition = 	getMockColumnDisplayDefinition();
  		mockHelper.replayAll();
  		classUnderTest.setColumnDisplayDefinition(localMockColumnDisplayDefinition);
  		IWhereClausePart whereClauseValue = classUnderTest.getWhereClauseValue(null, mockMetaData);
  		assertNotNull(whereClauseValue);
  		assertEquals(IsNullWhereClausePart.class, whereClauseValue.getClass());
  		// Floats cannot be used as where clause values as there are not precise. 
  		
  		whereClauseValue = classUnderTest.getWhereClauseValue(getWhereClauseValueObject(), mockMetaData);
  		assertNotNull(whereClauseValue);
  		assertEquals(EmptyWhereClausePart.class, whereClauseValue.getClass());
  		
  		
  		mockHelper.verifyAll();
  	}
test_case.class_method_signature: DataTypeFloatTest.testGetWhereClauseValue()
test_case.full_signature: @Override @Test public void testGetWhereClauseValue()
test_case.identifier: testGetWhereClauseValue
test_case.invocations: getMockColumnDisplayDefinition replayAll setColumnDisplayDefinition getWhereClauseValue assertNotNull assertEquals getClass getWhereClauseValue getWhereClauseValueObject assertNotNull assertEquals getClass verifyAll
test_case.modifiers: @Override @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetWhereClauseValue()
focal_class.declarator: s_log = LoggerController.createLogger(DataTypeFloat.class)
focal_class.modifier: private static
focal_class.original_string: private static ILogger s_log = LoggerController.createLogger(DataTypeFloat.class);
focal_class.type: ILogger
focal_class.var_name: s_log
focal_class.declarator: _isNullable
focal_class.modifier: private
focal_class.original_string: private boolean _isNullable;
focal_class.type: boolean
focal_class.var_name: _isNullable
focal_class.declarator: _table
focal_class.modifier: private
focal_class.original_string: private JTable _table;
focal_class.type: JTable
focal_class.var_name: _table
focal_class.declarator: _textComponent
focal_class.modifier: private
focal_class.original_string: private IRestorableTextComponent _textComponent;
focal_class.type: IRestorableTextComponent
focal_class.var_name: _textComponent
focal_class.declarator: _renderer = DefaultColumnRenderer.getInstance()
focal_class.modifier: private
focal_class.original_string: private DefaultColumnRenderer _renderer = DefaultColumnRenderer.getInstance();
focal_class.type: DefaultColumnRenderer
focal_class.var_name: _renderer
focal_class.declarator: _numberFormat
focal_class.modifier: private
focal_class.original_string: private NumberFormat _numberFormat;
focal_class.type: NumberFormat
focal_class.var_name: _numberFormat
focal_class.declarator: _renderExceptionHasBeenLogged
focal_class.modifier: private
focal_class.original_string: private boolean _renderExceptionHasBeenLogged;
focal_class.type: boolean
focal_class.var_name: _renderExceptionHasBeenLogged
focal_class.file: sql12/fw/src/main/java/net/sourceforge/squirrel_sql/fw/datasetviewer/cellcomponent/DataTypeFloat.java
focal_class.identifier: DataTypeFloat
focal_class.interfaces: implements IDataTypeComponent
focal_class.class_method_signature: DataTypeFloat.DataTypeFloat(JTable table, ColumnDisplayDefinition colDef)
focal_class.full_signature: public  DataTypeFloat(JTable table, ColumnDisplayDefinition colDef)
focal_class.identifier: DataTypeFloat
focal_class.modifiers: public
focal_class.parameters: (JTable table, ColumnDisplayDefinition colDef)
focal_class.signature:  DataTypeFloat(JTable table, ColumnDisplayDefinition colDef)
focal_class.class_method_signature: DataTypeFloat.getClassName()
focal_class.full_signature: public String getClassName()
focal_class.identifier: getClassName
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getClassName()
focal_class.class_method_signature: DataTypeFloat.renderObject(Object value)
focal_class.full_signature: public String renderObject(Object value)
focal_class.identifier: renderObject
focal_class.modifiers: public
focal_class.parameters: (Object value)
focal_class.return: String
focal_class.signature: String renderObject(Object value)
focal_class.class_method_signature: DataTypeFloat.isEditableInCell(Object originalValue)
focal_class.full_signature: public boolean isEditableInCell(Object originalValue)
focal_class.identifier: isEditableInCell
focal_class.modifiers: public
focal_class.parameters: (Object originalValue)
focal_class.return: boolean
focal_class.signature: boolean isEditableInCell(Object originalValue)
focal_class.class_method_signature: DataTypeFloat.needToReRead(Object originalValue)
focal_class.full_signature: public boolean needToReRead(Object originalValue)
focal_class.identifier: needToReRead
focal_class.modifiers: public
focal_class.parameters: (Object originalValue)
focal_class.return: boolean
focal_class.signature: boolean needToReRead(Object originalValue)
focal_class.class_method_signature: DataTypeFloat.getJTextField()
focal_class.full_signature: public JTextField getJTextField()
focal_class.identifier: getJTextField
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: JTextField
focal_class.signature: JTextField getJTextField()
focal_class.class_method_signature: DataTypeFloat.validateAndConvert(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.full_signature: public Object validateAndConvert(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.identifier: validateAndConvert
focal_class.modifiers: public
focal_class.parameters: (String value, Object originalValue, StringBuffer messageBuffer)
focal_class.return: Object
focal_class.signature: Object validateAndConvert(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.class_method_signature: DataTypeFloat.useBinaryEditingPanel()
focal_class.full_signature: public boolean useBinaryEditingPanel()
focal_class.identifier: useBinaryEditingPanel
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean useBinaryEditingPanel()
focal_class.class_method_signature: DataTypeFloat.isEditableInPopup(Object originalValue)
focal_class.full_signature: public boolean isEditableInPopup(Object originalValue)
focal_class.identifier: isEditableInPopup
focal_class.modifiers: public
focal_class.parameters: (Object originalValue)
focal_class.return: boolean
focal_class.signature: boolean isEditableInPopup(Object originalValue)
focal_class.class_method_signature: DataTypeFloat.getJTextArea(Object value)
focal_class.full_signature: public JTextArea getJTextArea(Object value)
focal_class.identifier: getJTextArea
focal_class.modifiers: public
focal_class.parameters: (Object value)
focal_class.return: JTextArea
focal_class.signature: JTextArea getJTextArea(Object value)
focal_class.class_method_signature: DataTypeFloat.validateAndConvertInPopup(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.full_signature: public Object validateAndConvertInPopup(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.identifier: validateAndConvertInPopup
focal_class.modifiers: public
focal_class.parameters: (String value, Object originalValue, StringBuffer messageBuffer)
focal_class.return: Object
focal_class.signature: Object validateAndConvertInPopup(String value, Object originalValue, StringBuffer messageBuffer)
focal_class.class_method_signature: DataTypeFloat.readResultSet(ResultSet rs, int index, boolean limitDataRead)
focal_class.full_signature: public Object readResultSet(ResultSet rs, int index, boolean limitDataRead)
focal_class.identifier: readResultSet
focal_class.modifiers: public
focal_class.parameters: (ResultSet rs, int index, boolean limitDataRead)
focal_class.return: Object
focal_class.signature: Object readResultSet(ResultSet rs, int index, boolean limitDataRead)
focal_class.class_method_signature: DataTypeFloat.getWhereClauseValue(Object value, ISQLDatabaseMetaData md)
focal_class.full_signature: public IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md)
focal_class.identifier: getWhereClauseValue
focal_class.modifiers: public
focal_class.parameters: (Object value, ISQLDatabaseMetaData md)
focal_class.return: IWhereClausePart
focal_class.signature: IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md)
focal_class.class_method_signature: DataTypeFloat.setPreparedStatementValue(PreparedStatement pstmt, Object value, int position)
focal_class.full_signature: public void setPreparedStatementValue(PreparedStatement pstmt, Object value, int position)
focal_class.identifier: setPreparedStatementValue
focal_class.modifiers: public
focal_class.parameters: (PreparedStatement pstmt, Object value, int position)
focal_class.return: void
focal_class.signature: void setPreparedStatementValue(PreparedStatement pstmt, Object value, int position)
focal_class.class_method_signature: DataTypeFloat.getDefaultValue(String dbDefaultValue)
focal_class.full_signature: public Object getDefaultValue(String dbDefaultValue)
focal_class.identifier: getDefaultValue
focal_class.modifiers: public
focal_class.parameters: (String dbDefaultValue)
focal_class.return: Object
focal_class.signature: Object getDefaultValue(String dbDefaultValue)
focal_class.class_method_signature: DataTypeFloat.canDoFileIO()
focal_class.full_signature: public boolean canDoFileIO()
focal_class.identifier: canDoFileIO
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canDoFileIO()
focal_class.class_method_signature: DataTypeFloat.importObject(FileInputStream inStream)
focal_class.full_signature: public String importObject(FileInputStream inStream)
focal_class.identifier: importObject
focal_class.modifiers: public
focal_class.parameters: (FileInputStream inStream)
focal_class.return: String
focal_class.signature: String importObject(FileInputStream inStream)
focal_class.class_method_signature: DataTypeFloat.exportObject(FileOutputStream outStream, String text)
focal_class.full_signature: public void exportObject(FileOutputStream outStream, String text)
focal_class.identifier: exportObject
focal_class.modifiers: public
focal_class.parameters: (FileOutputStream outStream, String text)
focal_class.return: void
focal_class.signature: void exportObject(FileOutputStream outStream, String text)
focal_class.superclass: extends FloatingPointBase
focal_method.body: public IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md) {
        if (value == null || value.toString() == null || value.toString().length() == 0) {
           return new IsNullWhereClausePart(_colDef);
        } else {
           // since we cannot do exact matches on floating point
           // numbers, we cannot use this field in the WHERE clause.
           return new EmptyWhereClausePart();
        }
     }
focal_method.class_method_signature: DataTypeFloat.getWhereClauseValue(Object value, ISQLDatabaseMetaData md)
focal_method.full_signature: public IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md)
focal_method.identifier: getWhereClauseValue
focal_method.invocations: toString length toString
focal_method.modifiers: public
focal_method.parameters: (Object value, ISQLDatabaseMetaData md)
focal_method.return: IWhereClausePart
focal_method.signature: IWhereClausePart getWhereClauseValue(Object value, ISQLDatabaseMetaData md)