android - What would be the best approach to design a dynamic query builder for realm.io? -


i designing "advanced filter" functionality android app can multi-select several query parameters, depending on parameter type union, intersection, on 1 object type (with nested objects). know of elegant , generic way design such query builder?

my object looks this:

public class dbdocument extends realmobject {

@primarykey private int _id; private string updatedat; private string name; private string subject; private int type; private int senderid; private string datesent; private int paymentstatus; private string paymentdue; private double invoiceamount; private string currency; private string acknowledged; private string fetched; private string exported; private int recipient; private int addressid; private string printed; private boolean important; private boolean hidden; private int printmode; private int printrule; private realmlist<dbtag> tag = new realmlist<>(); private realmlist<dbcomment> comment = new realmlist<>(); private realmlist<dbevent> event = new realmlist<>(); 

... }


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -