
import fr.ocelet.runtime.*;
import fr.ocelet.runtime.affectoperators.*;
import fr.ocelet.runtime.relation.*;
import edu.uci.ics.jung.graph.util.Pair;
import java.util.Collection;

public class Rive extends AbstractEntity {
    
    public Rive() {
        super();
        defProperty("shp",new Hproperty<ShapeFile>());
        defProperty("coordinates",new Hproperty<List<List<Double>>>());
        defProperty("sable",new Hproperty<Double>());
        defProperty("kml",new Hproperty<KmlFile>());
    }
    
    public List<List<Double>> getCoordinates() {
        return (List<List<Double>>)getProperty("coordinates");
    }
    
    public void kmlSave(String date) {
        ((KmlFile)getProperty("kml")).addCoordinateStep(date, (List<List<Double>>)getProperty("coordinates"));
    }
}