package org.oskari.admin.model;

import java.util.Map;

/**
 * Used as ouput data model for layers in the admin UI.
 */
public class MapLayerAdminOutput extends MapLayer {

    private Map<String, Object> capabilities;

    public Map<String, Object> getCapabilities() {
        return capabilities;
    }

    public void setCapabilities(Map<String, Object> capabilities) {
        this.capabilities = capabilities;
    }
}

@@ -166,16 +166,41 @@
 ayer %7B%0A%0A
+    private String warn;%0A
     priv
@@ -440,11 +440,241 @@
 s;%0A    %7D
+%0A%0A    /**%0A     * Possible warning message that capabilities coulnt' be updated%0A     * @return%0A     */%0A    public String getWarn() %7B%0A        return warn;%0A    %7D%0A%0A    public void setWarn(String warn) %7B%0A        this.warn = warn;%0A    %7D
 %0A%7D%0A

Add placeholder for possible warning for frontend