Package org.nutz.dao.impl.sql.pojo

Examples of org.nutz.dao.impl.sql.pojo.SingleColumnCondtionPItem


    public static PItem cndName(Entity<?> en, String name) {
      return cndColumn(en.getNameField(), name);
    }

    public static PItem cndColumn(MappingField mappingField, Object def) {
      SingleColumnCondtionPItem re = new SingleColumnCondtionPItem(mappingField, def);
      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }
View Full Code Here


      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }

    public static PItem cndColumn(String colName, MappingField mappingField, Object def) {
      return new SingleColumnCondtionPItemcolName,
                          mappingField.getTypeClass(),
                          mappingField.getAdaptor(),
                          def);
    }
View Full Code Here

                throw new DaoException("expect @Name but NOT found. " + en.getType().getName());
      return cndColumn(mappingField, name);
    }

    public static PItem cndColumn(MappingField mappingField, Object def) {
      SingleColumnCondtionPItem re = new SingleColumnCondtionPItem(mappingField, def);
      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }
View Full Code Here

      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }

    public static PItem cndColumn(String colName, MappingField mappingField, Object def) {
      return new SingleColumnCondtionPItemcolName,
                          mappingField.getTypeClass(),
                          mappingField.getAdaptor(),
                          def);
    }
View Full Code Here

                throw new DaoException("expect @Name but NOT found. " + en.getType().getName());
      return cndColumn(mappingField, name);
    }

    public static PItem cndColumn(MappingField mappingField, Object def) {
      SingleColumnCondtionPItem re = new SingleColumnCondtionPItem(mappingField, def);
      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }
View Full Code Here

      re.setCasesensitive(mappingField.isCasesensitive());
      return re;
    }

    public static PItem cndColumn(String colName, MappingField mappingField, Object def) {
      return new SingleColumnCondtionPItemcolName,
                          mappingField.getTypeClass(),
                          mappingField.getAdaptor(),
                          def);
    }
View Full Code Here

TOP

Related Classes of org.nutz.dao.impl.sql.pojo.SingleColumnCondtionPItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.