示例#1
0
 public String getDeployWord(String expression) {
   ElPropertyDeploy elProp = this.beanDescriptor.getElPropertyDeploy(expression);
   if (elProp == null) {
     return null;
   }
   addIncludes(elProp.getElPrefix());
   return elProp.getElPlaceholder(this.encrypted);
 }
示例#2
0
 public void add(ElPropertyDeploy elProp) {
   String join = elProp.getElPrefix();
   BeanProperty p = elProp.getBeanProperty();
   if ((p instanceof BeanPropertyAssocMany)) {
     join = addManyToJoin(join, p.getName());
   }
   if (join != null) {
     this.joins.add(join);
     String secondaryTableJoinPrefix = p.getSecondaryTableJoinPrefix();
     if (secondaryTableJoinPrefix != null) {
       this.joins.add(join + "." + secondaryTableJoinPrefix);
     }
     addParentJoins(join);
   }
 }