de.theappguys.winzigsql
Class Cruddable.CrudFloat

java.lang.Object
  extended by de.theappguys.winzigsql.Cruddable.CrudValue<T>
      extended by de.theappguys.winzigsql.Cruddable.CrudNotNullableValue<Float>
          extended by de.theappguys.winzigsql.Cruddable.CrudFloat
All Implemented Interfaces:
Serializable
Enclosing class:
Cruddable

public class Cruddable.CrudFloat
extends Cruddable.CrudNotNullableValue<Float>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.theappguys.winzigsql.Cruddable.CrudValue
dbFieldName, index
 
Constructor Summary
Cruddable.CrudFloat(String dbFieldName)
           
 
Method Summary
protected  void addToContentValues(android.content.ContentValues values)
           
protected  void fromCursor(int offset, android.database.Cursor cursor)
           
 Float get()
           
 float getFloat()
           
 void parse(String s)
          Sets the value of this field as a String.
 void set(Float t)
           
 void setFloat(float t)
           
 
Methods inherited from class de.theappguys.winzigsql.Cruddable.CrudNotNullableValue
isNull, isNullable
 
Methods inherited from class de.theappguys.winzigsql.Cruddable.CrudValue
equals, fromCursor, getFieldName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cruddable.CrudFloat

public Cruddable.CrudFloat(String dbFieldName)
Method Detail

get

public Float get()
Specified by:
get in class Cruddable.CrudValue<Float>

getFloat

public float getFloat()

set

public void set(Float t)
Specified by:
set in class Cruddable.CrudValue<Float>

parse

public void parse(String s)
Description copied from class: Cruddable.CrudValue
Sets the value of this field as a String. The instance tries to parse the String and set the resulting value. If that fails, a runtime exception is thrown

Specified by:
parse in class Cruddable.CrudValue<Float>

setFloat

public void setFloat(float t)

fromCursor

protected void fromCursor(int offset,
                          android.database.Cursor cursor)
Specified by:
fromCursor in class Cruddable.CrudValue<Float>

addToContentValues

protected void addToContentValues(android.content.ContentValues values)
Specified by:
addToContentValues in class Cruddable.CrudValue<Float>


Copyright © 2013. All Rights Reserved.