Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DistanceInfoObjectImpl.java @ 218:79fb4d900643
Added a model class that represents a distance information.
flys-client/trunk@1661 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 11 Apr 2011 14:29:54 +0000 |
parents | |
children | d9fc58e30a53 |
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 DistanceInfoObjectImpl implements DistanceInfoObject { protected String description; protected Double from; protected Double to; protected String riverside; public DistanceInfoObjectImpl() { } public DistanceInfoObjectImpl( String description, Double from, Double to, String riverside) { this.description = description; this.from = from; this.to = to; this.riverside = riverside; } public String getDescription() { return description; } public Double getFrom() { return from; } public Double getTo() { return to; } public String getRiverside() { return riverside; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :