package nl.idgis.publisher.domain.web.tree;

import java.util.List;

public class DefaultTiling implements Tiling {
	
	private final List<String> mimeFormats;
	
	private final Integer metaWidth, metaHeight, expireCache, expireClients, gutter;

	public DefaultTiling(List<String> mimeFormats, Integer metaWidth, Integer metaHeight, Integer expireCache, 
		Integer expireClients, Integer gutter) {
		
		this.mimeFormats = mimeFormats;
		this.metaWidth = metaWidth;
		this.metaHeight = metaHeight;
		this.expireCache = expireCache;
		this.expireClients = expireClients;
		this.gutter = gutter;
	}
	
	@Override
	public List<String> getMimeFormats() {
		return mimeFormats;
	}

	@Override
	public Integer getMetaWidth() {
		return metaWidth;
	}

	@Override
	public Integer getMetaHeight() {
		return metaHeight;
	}

	@Override
	public Integer getExpireCache() {
		return expireCache;
	}

	@Override
	public Integer getExpireClients() {
		return expireClients;
	}

	@Override
	public Integer getGutter() {
		return gutter;
	}

}

@@ -40,16 +40,46 @@
 ree;%0D%0A%0D%0A
+import java.io.Serializable;%0D%0A
 import j
@@ -140,21 +140,106 @@
 s Tiling
- %7B%0D%0A%09
+, Serializable %7B%0D%0A%09%0D%0A%09private static final long serialVersionUID = 2925287832249903424L;%0D%0A
 %0D%0A%09priva

make defaulttiling serializable