Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java @ 1411:63be3137abac
Parse and display WMS layers supported by a user specified WMS service.
flys-client/trunk@3298 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 21 Nov 2011 21:00:03 +0000 |
parents | 290d5687f202 |
children | f6fbfdc813f0 |
line wrap: on
line source
package de.intevation.flys.client.shared.model; /** * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public class DefaultTheme implements Theme { protected int position; protected int index; protected int active; protected int visible; protected String artifact; protected String facet; protected String description; public DefaultTheme() { } public DefaultTheme( int pos, int index, int active, int visible, String art, String facet, String description) { this.position = pos; this.index = index; this.active = active; this.visible = visible; this.artifact = art; this.facet = facet; this.description = description; } public int getPosition() { return position; } public void setPosition(int pos) { this.position = pos; } public int getIndex() { return index; } public int getActive() { return active; } public void setActive(int active) { this.active = active; } public String getArtifact() { return artifact; } public String getFacet() { return facet; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public int getVisible() { return visible; } public void setVisible(int visible) { this.visible = visible; } public boolean equals(Object o) { if (!(o instanceof DefaultTheme)) { return false; } DefaultTheme other = (DefaultTheme) o; if (other.position != position) { return false; } if (!other.artifact.equals(artifact)) { return false; } if (other.active != active) { return false; } if (!other.facet.equals(facet)) { return false; } if (!other.description.equals(description)) { return false; } if (other.index != index) { return false; } if (other.visible != visible) { return false; } return true; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :