@@ -0,0 +1,1025 @@
+package mansonheart.com.database;%0A%0Aimport io.realm.RealmQuery;%0Aimport rx.functions.Func1;%0Aimport rx.subjects.BehaviorSubject;%0A%0A/**%0A * Created by Zherebtsov Alexandr on 02.01.2016.%0A */%0Apublic class RealmQueryable %7B%0A%0A    private Class clazz;%0A    private Func1%3CRealmQuery, RealmQuery%3E predicate;%0A    private BehaviorSubject subject;%0A%0A    public RealmQueryable(Class clazz,%0A                          Func1%3CRealmQuery, RealmQuery%3E predicate,%0A                          BehaviorSubject subject) %7B%0A        this.clazz = clazz;%0A        this.predicate = predicate;%0A        this.subject = subject;%0A    %7D%0A%0A    public Class getClazz() %7B%0A        return clazz;%0A    %7D%0A%0A    public void setPredicate(Func1%3CRealmQuery, RealmQuery%3E predicate) %7B%0A        this.predicate = predicate;%0A    %7D%0A%0A    public BehaviorSubject getSubject() %7B%0A        return subject;%0A    %7D%0A%0A    public void setSubject(BehaviorSubject subject) %7B%0A        this.subject = subject;%0A    %7D%0A%0A    public Func1%3CRealmQuery, RealmQuery%3E getPredicate() %7B%0A        return predicate;%0A    %7D%0A%7D%0A

Add model for Realm get request