Search in sources :

Example 21 with Filter

use of com.orm.androrm.Filter in project androrm by androrm.

the class AndrormMigration method getFilter.

private Filter getFilter(Class<T> model) {
    Filter filter = new Filter();
    filter.is("mModel", DatabaseBuilder.getTableName(model)).is("mAction", mAction).is("mValue", getValue(model));
    return filter;
}
Also used : Filter(com.orm.androrm.Filter)

Aggregations

Filter (com.orm.androrm.Filter)21 ArrayList (java.util.ArrayList)7 Supplier (com.orm.androrm.impl.Supplier)6 Branch (com.orm.androrm.impl.Branch)5 Product (com.orm.androrm.impl.Product)5 Rule (com.orm.androrm.Rule)3 InStatement (com.orm.androrm.statement.InStatement)3 LikeStatement (com.orm.androrm.statement.LikeStatement)3 Statement (com.orm.androrm.statement.Statement)3 Person (com.orm.androrm.impl.Person)2 EmptyModel (com.orm.androrm.impl.migration.EmptyModel)2 NewEmptyModel (com.orm.androrm.impl.migration.NewEmptyModel)2 Migrator (com.orm.androrm.migration.Migrator)2 QuerySet (com.orm.androrm.QuerySet)1 NoSuchFieldException (com.orm.androrm.field.NoSuchFieldException)1 Car (com.orm.androrm.impl.Car)1 ModelWithRelation (com.orm.androrm.impl.migration.ModelWithRelation)1 NewModelWithRelation (com.orm.androrm.impl.migration.NewModelWithRelation)1