1 19 20 package org.netbeans.lib.ddl.impl; 21 22 import java.util.*; 23 import org.netbeans.lib.ddl.*; 24 import org.netbeans.lib.ddl.impl.*; 25 26 33 34 public class CreateFunction extends CreateProcedure implements FunctionDescriptor 35 { 36 37 private int rarg; 38 39 static final long serialVersionUID =-7554675717309349130L; 40 41 public int getReturnType() 42 { 43 return rarg; 44 } 45 46 47 public void setReturnType(int aval) 48 { 49 rarg = aval; 50 } 51 52 public Map getCommandProperties() 53 throws DDLException 54 { 55 Map cmdprops = super.getCommandProperties(); 56 cmdprops.put("return.type", getSpecification().getType(rarg)); return cmdprops; 58 } 59 } 60 61 72 | Popular Tags |