public String convertObject(Object val, Object context) { return ((ClassInfo) val).getTypeName(); } }
/** * Get the generic type name. * @return The type name. */ public String getGenericTypeName() { return geninfo!=null? geninfo: getTypeName(); }
/** * Get the hashcode. */ public int hashCode() { final int prime = 31; int result = 1; // result = prime * result + ((getGenericTypeName() == null)? 0 : getGenericTypeName().hashCode()); result = prime * result + ((getTypeName() == null)? 0 : getTypeName().hashCode()); return result; }
/** * Processes the task infos. * * @param taskname The task name. * @param descarea The description area. * @param atable The parameter table. */ protected void processTaskInfos(ClassInfo task, JEditorPane descarea) { if(task!=null) processTaskInfos(task.getTypeName(), descarea); }
/** * Processes the task parameters to match the selected task class. * * @param taskname The selected task. * @param atable The activity parameter table. */ protected void processTaskParameters(ClassInfo task, ActivityParameterTable atable) { if(task!=null) processTaskParameters(task.getTypeName(), atable); }
/** * Processes the task parameters to match the selected task class. * * @param taskname The selected task. * @param atable The activity parameter table. */ protected void processTaskParameters(ClassInfo task, ActivityParameterTable atable) { if(task!=null) processTaskParameters(task.getTypeName(), atable); }
/** * Gets the task meta information. * * @param taskname Name of the task. * @return The info, null if not found. */ protected TaskMetaInfo getTaskMetaInfo(ClassInfo task) { return task==null? null: getTaskMetaInfo(task.getTypeName()); }
/** * Gets the task meta information. * * @param taskname Name of the task. * @return The info, null if not found. */ protected TaskMetaInfo getTaskMetaInfo(ClassInfo task) { return task==null? null: getTaskMetaInfo(task.getTypeName()); }
/** * Processes the task infos. * * @param taskname The task name. * @param descarea The description area. * @param atable The parameter table. */ protected void processTaskInfos(ClassInfo task, JEditorPane descarea) { if(task!=null) processTaskInfos(task.getTypeName(), descarea); }
/** * Get tooltip text. */ public String getTooltipText() { StringBuffer buf = new StringBuffer(); buf.append(service.getName()); buf.append(" :").append(service.getType().getTypeName()); return buf.toString(); }
/** * */ public String convertToString(ClassInfo val) { // return val==null || val.getTypeName().length()==0? null: val.getPrefixNotation(); return val==null || val.getTypeName().length()==0? null: SReflect.getUnqualifiedTypeName(val.getGenericTypeName()); }
public void customResultAvailable(Collection<T> result) { // System.out.println("getServiceProxy end: "+cid+" "+service.getName()); if(result!=null && !result.isEmpty()) { T o = result.iterator().next(); ret.setResult(o); } else { super.exceptionOccurred(new ServiceNotFoundException("No proxy for service found: "+cid+", "+service.getTypeName())); } }
public String toString() { return "addServiceStep: "+service.getServiceIdentifier().getServiceType().getTypeName()+" "+readercnt; } });
public void customResultAvailable(Void result) { ret.setExceptionIfUndone(new ServiceNotFoundException(type.getTypeName())); } });
/** * A string representation. */ public String toString() { return SReflect.getUnqualifiedTypeName(service.getType().getTypeName()); }
public String toString() { return "removeServiceStep: "+service.getServiceIdentifier().getServiceType().getTypeName()+" "+readercnt; } });
/** * A string representation. */ public String toString() { return SReflect.getUnqualifiedTypeName(info.getType().getTypeName()); }
/** * Get the string representation. */ public String toString() { return getClazz()!=null? getClazz().getTypeName(): getValue()!=null? getValue(): binding!=null? binding.getComponentName()!=null? binding.getComponentName(): binding.getComponentType(): ""; } }
/** * Get the string representation. */ public String toString() { return getClazz()!=null? getClazz().getTypeName(): getValue()!=null? getValue(): binding!=null? binding.getComponentName()!=null? binding.getComponentName(): binding.getComponentType(): ""; } }
public Object postProcess(IContext context, Object object) { MParameter param = (MParameter) object; param.getInitialValue().setName(param.getName()); param.getInitialValue().getClazz().setTypeName(param.getClazz().getTypeName()); return object; } },