@Override public SqliteMaster readEntity(Cursor cursor, int offset) { SqliteMaster entity = new SqliteMaster( // cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0), // type cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1), // name cursor.isNull(offset + 2) ? null : cursor.getString(offset + 2), // tableName cursor.isNull(offset + 3) ? null : cursor.getLong(offset + 3), // rootpage cursor.isNull(offset + 4) ? null : cursor.getString(offset + 4) // sql ); return entity; }
@Override public RelationEntity readEntity(Cursor cursor, int offset) { RelationEntity entity = new RelationEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1), // parentId cursor.isNull(offset + 2) ? null : cursor.getLong(offset + 2), // testId cursor.getLong(offset + 3), // testIdNotNull cursor.isNull(offset + 4) ? null : cursor.getString(offset + 4) // simpleString ); return entity; }
@Override public JoinManyToDateEntity readEntity(Cursor cursor, int offset) { JoinManyToDateEntity entity = new JoinManyToDateEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1), // idToMany cursor.isNull(offset + 2) ? null : cursor.getLong(offset + 2) // idDate ); return entity; }
@Override public StringKeyValueEntity readEntity(Cursor cursor, int offset) { StringKeyValueEntity entity = new StringKeyValueEntity( // cursor.isNull(offset + 0) ? null : cursor.getString(offset + 0), // key cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1) // value ); return entity; }
@Override public ExtendsImplementsEntity readEntity(Cursor cursor, int offset) { ExtendsImplementsEntity entity = new ExtendsImplementsEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1) // text ); return entity; }
@Override public IndexedStringEntity readEntity(Cursor cursor, int offset) { IndexedStringEntity entity = new IndexedStringEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : cursor.getString(offset + 1) // indexedString ); return entity; }
@Override public DateEntity readEntity(Cursor cursor, int offset) { DateEntity entity = new DateEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : new java.util.Date(cursor.getLong(offset + 1)), // date new java.util.Date(cursor.getLong(offset + 2)) // dateNotNull ); return entity; }
@Override public ToOneTarget2 readEntity(Cursor cursor, int offset) { ToOneTarget2 entity = new ToOneTarget2( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0) // id ); return entity; }
@Override public AutoincrementEntity readEntity(Cursor cursor, int offset) { AutoincrementEntity entity = new AutoincrementEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0) // id ); return entity; }
@Override public CustomTypeEntity readEntity(Cursor cursor, int offset) { CustomTypeEntity entity = new CustomTypeEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0), // id cursor.isNull(offset + 1) ? null : myCustomTimestampConverter.convertToEntityProperty(cursor.getLong(offset + 1)) // myCustomTimestamp ); return entity; }
@Override public KeepEntity readEntity(Cursor cursor, int offset) { KeepEntity entity = new KeepEntity( // cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0) // id ); return entity; }
@Override public void readEntity(Cursor cursor, JoinManyToDateEntity entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setIdToMany(cursor.isNull(offset + 1) ? null : cursor.getLong(offset + 1)); entity.setIdDate(cursor.isNull(offset + 2) ? null : cursor.getLong(offset + 2)); }
@Override public void readEntity(Cursor cursor, DateEntity entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setDate(cursor.isNull(offset + 1) ? null : new java.util.Date(cursor.getLong(offset + 1))); entity.setDateNotNull(new java.util.Date(cursor.getLong(offset + 2))); }
@Override public void readEntity(Cursor cursor, CustomTypeEntity entity, int offset) { entity.setId(cursor.isNull(offset + 0) ? null : cursor.getLong(offset + 0)); entity.setMyCustomTimestamp(cursor.isNull(offset + 1) ? null : myCustomTimestampConverter.convertToEntityProperty(cursor.getLong(offset + 1))); }