com.todoroo.andlib.data
Class TodorooCursor.CursorReadingVisitor

java.lang.Object
  extended by com.todoroo.andlib.data.TodorooCursor.CursorReadingVisitor
All Implemented Interfaces:
Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>
Enclosing class:
TodorooCursor<TYPE extends AbstractModel>

public static class TodorooCursor.CursorReadingVisitor
extends java.lang.Object
implements Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>

Visitor that reads the given property from a cursor

Author:
Tim Su

Constructor Summary
TodorooCursor.CursorReadingVisitor()
           
 
Method Summary
 java.lang.Object visitDouble(Property<java.lang.Double> property, TodorooCursor<?> cursor)
           
 java.lang.Object visitInteger(Property<java.lang.Integer> property, TodorooCursor<?> cursor)
           
 java.lang.Object visitLong(Property<java.lang.Long> property, TodorooCursor<?> cursor)
           
 java.lang.Object visitString(Property<java.lang.String> property, TodorooCursor<?> cursor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TodorooCursor.CursorReadingVisitor

public TodorooCursor.CursorReadingVisitor()
Method Detail

visitDouble

public java.lang.Object visitDouble(Property<java.lang.Double> property,
                                    TodorooCursor<?> cursor)
Specified by:
visitDouble in interface Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>

visitInteger

public java.lang.Object visitInteger(Property<java.lang.Integer> property,
                                     TodorooCursor<?> cursor)
Specified by:
visitInteger in interface Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>

visitLong

public java.lang.Object visitLong(Property<java.lang.Long> property,
                                  TodorooCursor<?> cursor)
Specified by:
visitLong in interface Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>

visitString

public java.lang.Object visitString(Property<java.lang.String> property,
                                    TodorooCursor<?> cursor)
Specified by:
visitString in interface Property.PropertyVisitor<java.lang.Object,TodorooCursor<?>>