Package org.nutz.dao.entity.annotation

Examples of org.nutz.dao.entity.annotation.Name.casesensitive()


      if (!ef.getMirror().isStringLike())
        throw error(entity, "@Name field [%s] must be a String!", field.getName());
      // Not null
      ef.setNotNull(true);
      // Set Name
      if (name.casesensitive())
        ef.setType(FieldType.CASESENSITIVE_NAME);
      else
        ef.setType(FieldType.NAME);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.