Revision 47436 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.dbf/src/main/java/org/gvsig/fmap/dal/store/dbf/DBFStoreParameters.java
DBFStoreParameters.java | ||
---|---|---|
54 | 54 |
public static final String HANDLE_DATES_AS_STRINGS = "handleDatesAsStrings"; |
55 | 55 |
public static final String DATE_FORMAT = "dateFormat"; |
56 | 56 |
public static final String LOCALE = "locale"; |
57 |
public static final String ALLOW_DECIMAL_INCONSISTENCIES_PARAMTER_NAME = "allowInconsistenciesInDecimals"; |
|
57 | 58 |
public static final String ALLOW_DUPLICATED_FIELD_NAMES = "allowDuplicatedFieldNames"; |
58 | 59 |
|
59 | 60 |
// We don't want to persist or show effective encoding in the store parameters dialog |
... | ... | |
258 | 259 |
} |
259 | 260 |
} |
260 | 261 |
} |
262 |
|
|
263 |
public boolean allowInconsistenciesInDecimals() { |
|
264 |
Boolean x = (Boolean) this.getDynValue(ALLOW_DECIMAL_INCONSISTENCIES_PARAMTER_NAME); |
|
265 |
if(x == null){ |
|
266 |
return false; |
|
267 |
} |
|
268 |
return x; |
|
269 |
} |
|
261 | 270 |
|
262 | 271 |
private static class InvalidDateFormatException extends ValidateDataParametersException { |
263 | 272 |
|
Also available in: Unified diff