Revision 43739 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/SQLBuilder.java

View differences:

SQLBuilder.java
2 2

  
3 3
import java.util.List;
4 4
import org.cresques.cts.IProjection;
5
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor;
5 6

  
6 7
public interface SQLBuilder extends ExpressionBuilder {
7 8
    
......
216 217
    public interface AlterTableBuilder extends Statement {
217 218
        public TableNameBuilder table();
218 219
        public AlterTableBuilder drop_column(String columnName);
219
        public AlterTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
220
        public AlterTableBuilder add_column(FeatureAttributeDescriptor fad);
221
        public AlterTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);    
220 222
        public AlterTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
221 223
        public AlterTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls);
224
        public AlterTableBuilder alter_column(FeatureAttributeDescriptor fad);
222 225
        public AlterTableBuilder alter_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
223 226
        public AlterTableBuilder alter_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
224 227
        public AlterTableBuilder alter_geometry_column(String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls);
......
229 232
    
230 233
    public interface CreateTableBuilder extends Statement {
231 234
        public TableNameBuilder table();
235
        public CreateTableBuilder add_column(FeatureAttributeDescriptor fad);
232 236
        public CreateTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
233 237
        public CreateTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
234 238
        public CreateTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, Object srsdbcode, boolean isIndexed, boolean allowNulls);
235
        public ColumnDescriptorBuilder getColumnDescriptor(String columnName);
239
        public ColumnDescriptor getColumnDescriptor(String columnName);
236 240
        public List<String> toStrings();
237 241
    }
238 242
    

Also available in: Unified diff