protected void generateOperations(ClassInfo classInfo, StringBuffer code, boolean generateBody) {
Capability capability = classInfo.getCapability();
for(Iterator i=capability.getOperations().iterator(); i.hasNext();) {
JavaMethod method = (JavaMethod)i.next();
indent(code);
code.append("public "
+ convertType(method.getReturnType(), classInfo)
+ " " + getMethodName(method));
Class[] params = method.getParameterTypes();
code.append("(");
if (params.length > 0) {
int j;
for (j = 0; j < params.length - 1; j++) {