1 package com.daffodilwoods.daffodildb.server.sql99.dcl.sqlcontrolstatement; 2 3 import com.daffodilwoods.daffodildb.server.serversystem.*; 4 import com.daffodilwoods.daffodildb.server.sql99.*; 5 import com.daffodilwoods.daffodildb.server.sql99.common.*; 6 import com.daffodilwoods.daffodildb.server.sql99.dml.declarecursor.*; 7 import com.daffodilwoods.daffodildb.server.sql99.token.*; 8 import com.daffodilwoods.daffodildb.server.sql99.utils.*; 9 import com.daffodilwoods.database.resource.*; 10 import com.daffodilwoods.database.utility.*; 11 12 public class terminatedlocalcursordeclaration implements _Executer { 13 14 public Ssemicolon_714091343 _Ssemicolon_7140913430; 15 public declarecursor _declarecursor1; 16 17 public Object run(Object object) throws DException { 18 _declarecursor1.run(object); 19 return this; 20 } 21 22 public Object [] getParameters(Object object) throws DException { 23 return _declarecursor1.getParameters(object); 24 } 25 26 public _Reference[] checkSemantic(_ServerSession object) throws DException { 27 return _declarecursor1.checkSemantic(object); 28 } 29 30 public Object execute(_VariableValues variableValues) throws DException { 31 return _declarecursor1.execute(variableValues); 32 } 33 34 public Object execute(Object [] values) throws DException { 35 throw new UnsupportedOperationException (); 36 } 37 38 public Object executeForFresh(Object [] values) throws DException { 39 throw new UnsupportedOperationException (); 40 } 41 42 public Object getCursorName() throws DException { 43 return _declarecursor1._cursorname7.run(null); 44 } 45 46 public void addVariableInVV(_VariableValues vv) throws DException { 47 String curName = (String ) _declarecursor1._cursorname7.run(null); 48 _Reference ref = new ProcedureStringReference(curName); 49 ref.setDatatype(Datatypes.BOOLEAN); 50 _Reference[] refs = new _Reference[] {ref}; 51 vv.addReferences(refs); 52 vv.setConditionVariableValue(refs, new Object [] {IntegerPool.Integer0} 53 , 1); 54 } 55 56 public String toString() { 57 StringBuffer sb = new StringBuffer (); 58 sb.append(" "); 59 sb.append(_declarecursor1); 60 sb.append(" "); 61 sb.append(_Ssemicolon_7140913430); 62 return sb.toString().trim(); 63 } 64 65 public Object clone() throws CloneNotSupportedException { 66 return this; 67 } 68 } 69 | Popular Tags |