1 package com.daffodilwoods.daffodildb.server.sql99.ddl.schemadefinition; 2 3 import com.daffodilwoods.database.resource.*; 4 import com.daffodilwoods.daffodildb.server.sql99.token.*; 5 6 import com.daffodilwoods.daffodildb.server.sql99.ddl.schemadefinition.*; 7 import com.daffodilwoods.daffodildb.server.serversystem._ServerSession; 8 9 public class javaclassname implements com.daffodilwoods.daffodildb.utils.parser.StatementExecuter { 10 11 public Speriod_991726143packageidentifier[] _OptRepSperiod_991726143packageidentifier0; 12 public packageidentifier _packageidentifier1; 13 14 public Object run(Object object) throws DException { 15 String className = setPackageWithClassName(); 16 return className; 17 } 18 19 public String setPackageWithClassName() throws DException { 20 StringBuffer sb = new StringBuffer (); 21 if (_OptRepSperiod_991726143packageidentifier0 != null) { 22 sb.append(_packageidentifier1); 23 for (int i = 0, length = _OptRepSperiod_991726143packageidentifier0.length; i < length; i++) { 24 sb.append(_OptRepSperiod_991726143packageidentifier0[i]); 25 } 26 } else { 27 String packageName1 = _packageidentifier1.getClass().getPackage().toString(); 28 String packageName = packageName1.substring(packageName1.lastIndexOf(" ") + 1, packageName1.length()); 29 sb.append(packageName).append(".").append(_packageidentifier1); 30 } 31 return sb.toString(); 32 } 33 34 public Object clone() throws CloneNotSupportedException { 35 return this; 36 } 37 38 public String toString() { 39 StringBuffer str = new StringBuffer (" "); 40 if (_OptRepSperiod_991726143packageidentifier0 != null) { 41 str.append(_packageidentifier1); 42 for (int i = 0; i < _OptRepSperiod_991726143packageidentifier0.length; i++) { 43 str.append(_OptRepSperiod_991726143packageidentifier0[i]); 44 } 45 } else { 46 str.append(_packageidentifier1); 47 } 48 return str.toString().trim(); 49 } 50 } 51 | Popular Tags |