de.theappguys.winzigsql
Class Cruddable.CrudDouble

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

public class Cruddable.CrudDouble
extends Cruddable.CrudNotNullableValue<Double>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.theappguys.winzigsql.Cruddable.CrudValue
dbFieldName, index
 
Constructor Summary
Cruddable.CrudDouble(String dbFieldName)
           
 
Method Summary
protected  void addToContentValues(android.content.ContentValues values)
           
protected  void fromCursor(int offset, android.database.Cursor cursor)
           
 Double get()
           
 double getDouble()
           
 void parse(String s)
          Sets the value of this field as a String.
 void set(Double t)
           
 void setDouble(double 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.CrudDouble

public Cruddable.CrudDouble(String dbFieldName)
Method Detail

get

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

getDouble

public double getDouble()

set

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

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<Double>

setDouble

public void setDouble(double t)

fromCursor

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

addToContentValues

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


Copyright © 2013. All Rights Reserved.