Revision 2087 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/main/java/org/gvsig/tools/dataTypes/impl/DefaultDataTypesManager.java
DefaultDataTypesManager.java | ||
---|---|---|
155 | 155 |
|
156 | 156 |
public final synchronized int addtype(int type, String subtype, String name, |
157 | 157 |
Class defaultClass, Coercion coercion, String iconName, |
158 |
boolean fixedPrecision, int max_precision, int default_precision) {
|
|
158 |
boolean predefinedPrecision, int max_precision, int default_precision) {
|
|
159 | 159 |
return addtype(type, subtype, name, defaultClass, coercion, iconName, |
160 |
fixedPrecision, max_precision, default_precision, NO_SUPPORT_SCALE
|
|
160 |
predefinedPrecision, max_precision, default_precision, NO_SUPPORT_SCALE
|
|
161 | 161 |
); |
162 | 162 |
} |
163 | 163 |
|
164 | 164 |
@Override |
165 | 165 |
public final synchronized int addtype(int type, String subtype, String name, |
166 | 166 |
Class defaultClass, Coercion coercion, String iconName, |
167 |
boolean fixedPrecision, int max_precision, int default_precision, int default_scale) {
|
|
167 |
boolean predefinedPrecision, int max_precision, int default_precision, int default_scale) {
|
|
168 | 168 |
if (type == INVALID) { |
169 | 169 |
type = getNewObjectIndexType(); |
170 | 170 |
} |
... | ... | |
185 | 185 |
|
186 | 186 |
DataType dataType = new DefaultDataType( |
187 | 187 |
type, subtype, name, defaultClass, coercion, iconName, |
188 |
fixedPrecision, max_precision, default_precision, default_scale
|
|
188 |
predefinedPrecision, max_precision, default_precision, default_scale
|
|
189 | 189 |
); |
190 | 190 |
types[type] = dataType; |
191 | 191 |
LOG.info("Registered data type {}.", dataType.toString()); |
Also available in: Unified diff