	protected ${data.srcClassName} getEntityFromCursor(Cursor cursor) {
		${data.srcClassName} entiry = new ${data.srcClassName}();
#foreach ($field in $data.fieldList)
		entiry.set${field.srcName}(cursor.get${field.srcType}(cursor.getColumnIndexOrThrow("${field.dbName}")));
#end
		return entiry;
	}
