1 17 package org.apache.ws.jaxme.sqls; 18 19 import java.util.Collection ; 20 21 22 26 public interface SQLGenerator { 27 30 public Collection getCreate(Schema pSchema); 31 32 40 public Collection getCreate(Schema pSchema, boolean pAll); 41 42 45 public Collection getDrop(Schema pSchema); 46 47 55 public Collection getDrop(Schema pSchema, boolean pAll); 56 57 60 public Collection getCreate(Table pTable); 61 62 71 public Collection getCreate(Table pTable, boolean pAll); 72 73 76 public Collection getDrop(Table pTable); 77 78 87 public Collection getDrop(Table pTable, boolean pAll); 88 89 91 public Collection getCreate(Index pIndex); 92 93 95 public Collection getDrop(Index pIndex); 96 97 99 public Collection getCreate(ForeignKey pKey); 100 101 103 public Collection getDrop(ForeignKey pKey); 104 105 107 public String getQuery(Statement pStatement); 108 109 111 public String getConstraint(Constraint pConstraint); 112 113 116 public String getWhereClause(SelectStatement pQuery); 117 118 121 public void setStatementTerminator(String pTerminator); 122 123 126 public String getStatementTerminator(); 127 128 133 public void setLineTerminator(String pTerminator); 134 135 140 public String getLineTerminator(); 141 } 142 | Popular Tags |