app/src/main/java/db/juhaku/juhakudb/filter/QueryProcessor.java
/**
         * Get alias for model class. Model class must be a database entity. Alias is first looked
         * from cache. If cached alias is not found new will be generated and set to
         * cache for later usage.
         *
         * @param model Instance of {@link Class} of entity to get alias for.
         * @return String value of alias for entity.
         *
         * @since 1.2.0
         */
Get alias for model class. Model class must be a database entity. Alias is first looked
from cache. If cached alias is not found new will be generated and set to
cache for later usage.

@param model Instance of  Class of entity to get alias for.
@return String value of alias for entity.


Get alias for model class . Model class must be a database entity . Alias is first looked from cache . If cached alias is not found new will be generated and set to cache for later usage . @param model Instance of Class of entity to get alias for . @return String value of alias for entity .
public static String forModel(Class<?> model) {
            String alias = aliasMap.get(model);
            /*
             * If alias is not cached generate new and place it to cache.
             */
            if (StringUtils.isBlank(alias)) {
                alias = generateAlias(resolveName(model));
                aliasMap.put(model, alias);
            }
            return alias;
        }
public static String forModel ( Class < ? > model ) { String alias = aliasMap . get ( model ) ; /*
             * If alias is not cached generate new and place it to cache.
             */ if ( StringUtils . isBlank ( alias ) ) { alias = generateAlias ( resolveName ( model ) ) ; aliasMap . put ( model , alias ) ; } return alias ; }
Get alias for model class.
Get alias for model class .