Modifier and Type | Class and Description |
---|---|
class |
EntityCursor.EntityIterator
Definicion e implementacion de la clase EntityIterator
|
FIELD_TYPE_BLOB, FIELD_TYPE_FLOAT, FIELD_TYPE_INTEGER, FIELD_TYPE_NULL, FIELD_TYPE_STRING
Constructor and Description |
---|
EntityCursor(String tableName,
Cursor c) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Implementaci�n de los m�todos abstractos de la clase Cursor.
|
void |
copyStringToBuffer(int columnIndex,
CharArrayBuffer buffer) |
void |
deactivate() |
byte[] |
getBlob(int columnIndex) |
int |
getColumnCount() |
int |
getColumnIndex(String columnName) |
int |
getColumnIndexOrThrow(String columnName) |
String |
getColumnName(int columnIndex) |
String[] |
getColumnNames() |
int |
getCount() |
double |
getDouble(int columnIndex) |
Entity |
getEntity()
Devuelve la entidad en curso.
|
Bundle |
getExtras() |
float |
getFloat(int columnIndex) |
int |
getInt(int columnIndex) |
long |
getLong(int columnIndex) |
Uri |
getNotificationUri() |
int |
getPosition() |
short |
getShort(int columnIndex) |
String |
getString(int columnIndex) |
int |
getType(int columnIndex) |
boolean |
getWantsAllOnMoveCalls() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isNull(int columnIndex) |
Iterator<Entity> |
iterator()
Implementaci�n de los m�todos de la Interface Iterable.
|
boolean |
move(int offset) |
boolean |
moveToFirst() |
boolean |
moveToLast() |
boolean |
moveToNext() |
boolean |
moveToPosition(int position) |
boolean |
moveToPrevious() |
void |
registerContentObserver(ContentObserver observer) |
void |
registerDataSetObserver(DataSetObserver observer) |
boolean |
requery() |
Bundle |
respond(Bundle extras) |
void |
setNotificationUri(ContentResolver cr,
Uri uri) |
void |
unregisterContentObserver(ContentObserver observer) |
void |
unregisterDataSetObserver(DataSetObserver observer) |
public Entity getEntity()
public void close()
public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)
copyStringToBuffer
in interface Cursor
public void deactivate()
deactivate
in interface Cursor
public int getColumnCount()
getColumnCount
in interface Cursor
public int getColumnIndex(String columnName)
getColumnIndex
in interface Cursor
public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
getColumnIndexOrThrow
in interface Cursor
IllegalArgumentException
public String getColumnName(int columnIndex)
getColumnName
in interface Cursor
public String[] getColumnNames()
getColumnNames
in interface Cursor
public int getPosition()
getPosition
in interface Cursor
public boolean getWantsAllOnMoveCalls()
getWantsAllOnMoveCalls
in interface Cursor
public boolean isAfterLast()
isAfterLast
in interface Cursor
public boolean isBeforeFirst()
isBeforeFirst
in interface Cursor
public boolean moveToFirst()
moveToFirst
in interface Cursor
public boolean moveToLast()
moveToLast
in interface Cursor
public boolean moveToNext()
moveToNext
in interface Cursor
public boolean moveToPosition(int position)
moveToPosition
in interface Cursor
public boolean moveToPrevious()
moveToPrevious
in interface Cursor
public void registerContentObserver(ContentObserver observer)
registerContentObserver
in interface Cursor
public void registerDataSetObserver(DataSetObserver observer)
registerDataSetObserver
in interface Cursor
public void setNotificationUri(ContentResolver cr, Uri uri)
setNotificationUri
in interface Cursor
public void unregisterContentObserver(ContentObserver observer)
unregisterContentObserver
in interface Cursor
public void unregisterDataSetObserver(DataSetObserver observer)
unregisterDataSetObserver
in interface Cursor
public Iterator<Entity> iterator()
public Uri getNotificationUri()
getNotificationUri
in interface Cursor