Package com.tll.util

Examples of com.tll.util.PropertyPath.trim()


   * @return the clientized path
   */
  protected static final <T> String clientizePropertyPath(ISchemaInfo schemaInfo, Class<T> entityClass, String path) {
    final PropertyPath p = new PropertyPath(path);
    if(p.depth() > 2) {
      final String ppp = p.trim(1);
      final ISchemaProperty sp = schemaInfo.getSchemaProperty(entityClass, ppp);
      if(sp.getPropertyType().isNested()) {
        path = ppp + '_' + p.last();
      }
    }
View Full Code Here


          }
          else {
            // resolve the nearest parent (relational or indexed prop)
            final PropertyPath pp = new PropertyPath(rootRelPath);
            if(pp.depth() > 1) {
              nearestParentRefPath = pp.trim(1);
            }
            else {
              nearestParentRefPath = "";
            }
          }
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.