if (param instanceof ParameterRasterLayer) {
AdditionalInfoRasterLayer airl = (AdditionalInfoRasterLayer) ai;
map.put(PARAMETER_MANDATORY, airl.getIsMandatory());
}
if (param instanceof ParameterVectorLayer) {
AdditionalInfoVectorLayer aivl = (AdditionalInfoVectorLayer) ai;
map.put(PARAMETER_MANDATORY, aivl.getIsMandatory());
map.put(SHAPE_TYPE, aivl.getShapeType());
}
if (param instanceof ParameterVectorLayer) {
AdditionalInfoVectorLayer aiv = (AdditionalInfoVectorLayer) ai;
map.put(PARAMETER_MANDATORY, aiv.getIsMandatory());
}
if (param instanceof ParameterString) {
AdditionalInfoString ais = (AdditionalInfoString) ai;
map.put(DEFAULT_STRING_VALUE, ais.getDefaultString());
}