public String getDeployWord(String expression) {
   ElPropertyDeploy elProp = this.beanDescriptor.getElPropertyDeploy(expression);
   if (elProp == null) {
     return null;
   }
   addIncludes(elProp.getElPrefix());
   return elProp.getElPlaceholder(this.encrypted);
 }
Example #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);
   }
 }