/*
 * This file is part of Geomajas, a component framework for building
 * rich Internet applications (RIA) with sophisticated capabilities for the
 * display, analysis and management of geographic information.
 * It is a building block that allows developers to add maps
 * and other geographic data capabilities to their web applications.
 *
 * Copyright 2008-2010 Geosparc, http://www.geosparc.com, Belgium
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package org.geomajas.extension.command.dto;

import org.geomajas.command.CommandResponse;
import org.geomajas.layer.tile.RasterImage;

import java.util.List;

/**
 * Response object for {@link org.geomajas.extension.command.render.GetRasterDataCommand}.
 *
 * @author check subversion
 */
public class GetRasterDataResponse extends CommandResponse {

	private static final long serialVersionUID = 151L;

	private List<RasterImage> rasterData;

	private String nodeId;

	public GetRasterDataResponse() {
	}

	/**
	 * Get list of raster image metadata.
	 *
	 * @return
	 */
	public List<RasterImage> getRasterData() {
		return rasterData;
	}

	public void setRasterData(List<RasterImage> rasterData) {
		this.rasterData = rasterData;
	}

	/**
	 * Get node id, which is <layer id> + "."+level.
	 *
	 * @return node id
	 */
	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}
}

@@ -1381,24 +1381,24 @@
 hor 
-check subversion
+Jan De Moerloose
 %0D%0A *
@@ -1691,16 +1691,36 @@
  @return
+ list of raster data
 %0D%0A%09 */%0D%0A
@@ -1784,32 +1784,130 @@
 terData;%0D%0A%09%7D%0D%0A%0D%0A
+%09/**%0D%0A%09 * Set list of raster tiles.%0D%0A%09 *%0D%0A%09 * @param rasterData new list with raster tiles%0D%0A%09 */%0D%0A
 %09public void set
@@ -2025,17 +2025,17 @@
  is 
-%3C
+(
 layer id
 %3E + 
@@ -2034,16 +2034,18 @@
 r id
-%3E
+)
  + %22.%22
-+
+ + 
 leve
@@ -2130,24 +2130,120 @@
 eId;%0D%0A%09%7D%0D%0A%0D%0A
+%09/**%0D%0A%09 * Set node id, which is (layer id) + %22.%22 + level%0D%0A%09 *%0D%0A%09 * @param nodeId node id%0D%0A%09 */%0D%0A
 %09public void

set @author tags and api docs