Пример #1
0
 /* (non-Javadoc)
  * @see com.hundsun.ares.studio.engin.token.ICodeToken#genCode(java.util.Map)
  */
 @Override
 public String genCode(Map<Object, Object> context) throws Exception {
   String code = proxy.genCode(context);
   ISkeletonAttributeHelper helper =
       (ISkeletonAttributeHelper)
           context.get(IProcedureEngineContextConstantMySQL.SKELETON_ATTRIBUTE_HELPER);
   String[] params =
       helper
           .getAttribute(IProcedureEngineContextConstantMySQL.ATTR_PROC_VARIABLE_LIST)
           .toArray(new String[0]);
   Set<String> inoutParamList =
       helper.getAttribute(IProcedureEngineContextConstantMySQL.ATTR_IN_OUT_PARAM_LIST);
   return ParamReplaceUtil.handleParams(":", code, params, inoutParamList);
 }
Пример #2
0
 /* (non-Javadoc)
  * @see com.hundsun.ares.studio.engin.token.ICodeToken#getType()
  */
 @Override
 public int getType() {
   return proxy.getType();
 }
Пример #3
0
 /* (non-Javadoc)
  * @see com.hundsun.ares.studio.engin.token.ICodeToken#getContent()
  */
 @Override
 public String getContent() {
   return proxy.getContent();
 }