de.theappguys.winzigsql
Class Cruddable.CrudShort

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

public class Cruddable.CrudShort
extends Cruddable.CrudNotNullableValue<Short>

See Also:
Serialized Form

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

public Cruddable.CrudShort(String dbFieldName)
Method Detail

get

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

getShort

public short getShort()

set

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

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

setShort

public void setShort(short t)

fromCursor

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

addToContentValues

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


Copyright © 2013. All Rights Reserved.