package mil.nga.mapcache.ogc.wms;

/**
 * The layer object within the getCapabilities xml
 */
public class Layer {

    /**
     * The layer's title.
     */
    private String title;

    /**
     * Gets the layer's title.
     *
     * @return The layer's title.
     */
    public String getTitle() {
        return title;
    }

    /**
     * Sets the layer's title.
     *
     * @param title The layer's title.
     */
    public void setTitle(String title) {
        this.title = title;
    }
}

@@ -28,16 +28,68 @@
 c.wms;%0A%0A
+import java.util.ArrayList;%0Aimport java.util.List;%0A%0A
 /**%0A * T
@@ -230,16 +230,110 @@
 title;%0A%0A
+    /**%0A     * The child layers.%0A     */%0A    private List%3CLayer%3E layers = new ArrayList%3C%3E();%0A%0A
     /**%0A
@@ -602,24 +602,24 @@
 ng title) %7B%0A
-
         this
@@ -639,11 +639,157 @@
 e;%0A    %7D
+%0A%0A    /**%0A     * Gets the child layers.%0A     * @return The child layers.%0A     */%0A    public List%3CLayer%3E getLayers() %7B%0A        return layers;%0A    %7D
 %0A%7D%0A

Add child layers to layer.