Commit 7891b00a authored by Sanjeev-SLB's avatar Sanjeev-SLB
Browse files

Added constants

parent cf4105a9
Pipeline #58067 failed with stages
in 10 minutes and 22 seconds
......@@ -41,8 +41,8 @@ public final class Constants {
public static final String MULTIPOINT = "MultiPoint";
public static final String LINE_STRING = "LineString";
public static final String COORDINATES = "coordinates";
public static final String ANY_CRS_POINT = "AnyCrsPoint";
public static final String MULTIPOLYGON = "MultiPolygon";
public static final String ANY_CRS_POINT = "AnyCrsPoint";
public static final String PROPERTY_NAMES = "propertyNames";
public static final String ANY_CRS_POLYGON = "AnyCrsPolygon";
public static final String ANY_CRS_FEATURE = "AnyCrsFeature";
......
......@@ -19,6 +19,7 @@ public class CrsConversionServiceErrorMessages {
* Please do not change these error messages as these are included in public interface.
* Or if you do need to change, just be aware those changes can be breaking changes to our consumers.
*/
public static final String MISSING_META_BLOCK = "CRS Conversion: Meta Block is missing or empty in this record, no conversion applied.";
public static final String MISSING_DATA_BLOCK = "CRS Conversion: DataBlock is missing or empty in this record, no conversion applied.";
public static final String ILLEGAL_METAITEM_ARRAY = "CRS conversion: error when extract metaItem array, error message: %s, no conversion applied.";
public static final String MISSING_META_KIND = "CRS conversion: Required property 'kind' in meta block is missing or empty, no conversion applied.";
......@@ -27,8 +28,14 @@ public class CrsConversionServiceErrorMessages {
public static final String MISSING_REFERENCE = "CRS conversion: 'persistableReference' missing, no conversion applied.";
public static final String MISSING_PROPERTY = "CRS conversion: property '%s' is missing in datablock, no conversion applied to this property and its corresponding pairing property.";
public static final String MISSING_FEATURES = "CRS conversion: 'features' missing, no conversion applied.";
public static final String MISSING_COORDINATES = "CRS conversion: Coordinates values are empty, no conversion applied.";
public static final String MISSING_AS_INGESTED_COORDINATES = "CRS conversion: 'AsIngestedCoordinates' missing in data block, no conversion applied.";
public static final String MISSING_AS_INGESTED_TYPE = "CRS conversion: 'AsIngestedCoordinates' type: %s, is not valid, no conversion applied.";
public static final String WGS84COORDINATES_EXISTS = "CRS conversion: 'Wgs84Coordinates' block exists, no conversion applied.";
public static final String MISSING_GEOMETRY = "CRS conversion: 'geometry' missing in AsIngestedCoordinates block, no conversion applied.";
public static final String MISSING_GEOMETRIES = "CRS conversion: 'geometries' missing in AsIngestedCoordinates block, no conversion applied.";
public static final String INVALID_GEOMETRIES = "CRS conversion: Invalid 'geometries' type %s, no conversion applied.";
public static final String INVALID_GEOMETRY = "CRS conversion: Invalid 'geometry' type %s, no conversion applied.";
public static final String PROPERTY_VALUE_CAST_ERROR = "CRS conversion: cannot cast the value of property '%s' to double, error message: %s, no conversion applied.";
public static final String ILLEGAL_PROPERTY_VALUE = "CRS conversion: illegal value for property '%s', error message: %s, no conversion applied.";
public static final String INVALID_NESTED_PROPERTY_NAME = "CRS conversion: invalid nested property name: '%s', no conversion applied.";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment