de.theappguys.winzigsql
Class Cruddable.CrudLong

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

public class Cruddable.CrudLong
extends Cruddable.CrudNotNullableValue<Long>

See Also:
Serialized Form

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

public Cruddable.CrudLong(String dbFieldName)
Method Detail

get

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

getLong

public long getLong()

set

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

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

setLong

public void setLong(long t)

fromCursor

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

addToContentValues

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


Copyright © 2013. All Rights Reserved.