Revision 44669 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
35 35

  
36 36
        public int getPrecision();
37 37

  
38
        public int getScale();
39

  
38 40
        public boolean isPrimaryKey();
39 41

  
40 42
        public boolean isIndexed();
......
63 65

  
64 66
        public void setPrecision(int precision);
65 67

  
68
        public void setScale(int scale);
69

  
66 70
        public void setIsPrimaryKey(boolean isPk);
67 71

  
68 72
        public void setIsAutomatic(boolean isAutomatic);
......
283 287

  
284 288
        public AlterTableBuilder add_column(FeatureAttributeDescriptor fad);
285 289

  
286
        public AlterTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
290
        public AlterTableBuilder add_column(String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
287 291

  
288 292
        public AlterTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
289 293

  
......
291 295

  
292 296
        public AlterTableBuilder alter_column(FeatureAttributeDescriptor fad);
293 297

  
294
        public AlterTableBuilder alter_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
298
        public AlterTableBuilder alter_column(String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
295 299

  
296 300
        public AlterTableBuilder alter_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
297 301

  
......
312 316

  
313 317
        public CreateTableBuilder add_column(FeatureAttributeDescriptor fad);
314 318

  
315
        public CreateTableBuilder add_column(String columnName, int type, int type_p, int type_s, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
319
        public CreateTableBuilder add_column(String columnName, int type, int size, int precision, int scale, boolean isPk, boolean isIndexed, boolean allowNulls, boolean isAutomatic, Object defaultValue);
316 320

  
317 321
        public CreateTableBuilder add_geometry_column(String columnName, int geom_type, int geom_subtype, IProjection proj, boolean isIndexed, boolean allowNulls);
318 322

  
......
402 406

  
403 407
    public GeometrySupportType geometry_support_type();
404 408

  
405
    public String sqltype(int dataType, int p, int s, int geomType, int geomSubtype);
409
    public String sqltype(int dataType, int size, int precision, int scale, int geomType, int geomSubtype);
406 410

  
407 411
    public Object sqlgeometrytype(int type, int subtype);
408 412

  

Also available in: Unified diff