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/ExpressionBuilder.java
ExpressionBuilder.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 | 4 |
import org.cresques.cts.IProjection; |
5 |
import org.gvsig.fmap.dal.feature.FeatureAttributeDescriptor; |
|
6 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
5 | 7 |
import org.gvsig.fmap.geom.Geometry; |
6 | 8 |
import org.gvsig.fmap.geom.primitive.Envelope; |
7 | 9 |
|
... | ... | |
120 | 122 |
public IProjection getSRS(); |
121 | 123 |
} |
122 | 124 |
|
125 |
public interface ColumnDescriptor { |
|
126 |
public String getName(); |
|
127 |
public int getType(); |
|
128 |
public int getSize(); |
|
129 |
public int getPrecision(); |
|
130 |
public boolean isPrimaryKey(); |
|
131 |
public boolean isIndexed(); |
|
132 |
public boolean isAutomatic(); |
|
133 |
boolean allowNulls(); |
|
134 |
public Object getDefaultValue(); |
|
135 |
public int getGeometryType(); |
|
136 |
public int getGeometrySubtype(); |
|
137 |
public Object getGeometrySRSId(); |
|
138 |
public boolean isGeometry(); |
|
139 |
|
|
140 |
public DataStoreParameters getStoreParameters(); |
|
141 |
|
|
142 |
public void setName(String name); |
|
143 |
public void setType(int type); |
|
144 |
public void setSize(int size); |
|
145 |
public void setPrecision(int precision); |
|
146 |
public void setIsPrimaryKey(boolean isPk); |
|
147 |
public void setIsAutomatic(boolean isAutomatic); |
|
148 |
public void setAllowNulls(boolean allowNulls); |
|
149 |
public void setDefaultValue(Object defaultValue); |
|
150 |
public void setGeometryType(int geom_type); |
|
151 |
public void setGeometrySubtype(int geom_subtype); |
|
152 |
public void setGeometrySRSId(Object geom_srsid); |
|
153 |
} |
|
154 |
|
|
123 | 155 |
public interface Variable extends Value, Comparable<Variable> { |
124 | 156 |
public String getName(); |
157 |
public ColumnDescriptor getDescriptor(); |
|
125 | 158 |
} |
126 | 159 |
|
127 | 160 |
public interface Parameter extends Value { |
... | ... | |
186 | 219 |
public Variable variable(String name); |
187 | 220 |
|
188 | 221 |
public Variable column(String name); // Alias for variable(name) |
222 |
public Variable column(FeatureAttributeDescriptor fad); |
|
189 | 223 |
|
190 | 224 |
public Parameter parameter(String name); |
191 | 225 |
|
Also available in: Unified diff