Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/services/requestobjects/DefaultLayer.java @ 803:feae2f9d6c6f
Removed trailing whitespace.
gnv-artifacts/trunk@885 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 07 Apr 2010 07:52:27 +0000 |
parents | 9b9bf42b7928 |
children | 22c18083225e |
line wrap: on
line source
package de.intevation.gnv.artifacts.services.requestobjects; /** * The default implementation of <code>Layer</code>. * * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> * */ public class DefaultLayer implements Layer { private String id = null; private String name = null; private boolean groupLayer = false; private String parentId = null; /** * Constructor * @param id The id of this layer. * @param name The name of this layer. * @param groupLayer A boolean property to define this layer as group layer. * @param parentId The id of the parent layer. */ public DefaultLayer(String id,String name, boolean groupLayer,String parentId) { this.id = id; this.name = name; this.groupLayer = groupLayer; this.parentId = parentId; } /** * @return */ public String getID() { return this.id; } /** * @return */ public String getName() { return this.name; } /** * @return */ public boolean isGroupLayer() { return this.groupLayer; } /** * @return */ public String parentID() { return this.parentId; } /** * This methods returns this layer as string. * * @return this layer as string. */ @Override public String toString() { return "ID: "+ this.id + " Name: "+this.name+ " IsGroupLayer: "+this.groupLayer+ " ParentID: "+this.parentId; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :