view flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultTheme.java @ 525:fc994da131f9

Removed a bug in the DefaultTheme that prevented setting the artifact of a Theme correctly. flys-client/trunk@2004 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 25 May 2011 14:50:37 +0000
parents ba238f917b94
children 39d9291513cc
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 boolean active;

    protected String artifact;

    protected String facet;


    public DefaultTheme() {
    }


    public DefaultTheme(int pos, boolean active, String art, String facet) {
        this.position = pos;
        this.active   = active;
        this.artifact = art;
        this.facet    = facet;
    }


    public int getPosition() {
        return position;
    }


    public boolean isActive() {
        return active;
    }


    public String getArtifact() {
        return artifact;
    }


    public String getFacet() {
        return facet;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org