<commit_before>package entities;

import javax.persistence.*;
import java.util.Vector;

/**
 * Created by Niek on 14/03/14.
 * © Aidas 2014
 */
@Entity
public class Lane
{

    @Id
    @GeneratedValue
    private int id;
    private String laneIdentifier;

    @ManyToOne
    private Edge edge;

    @Column(name = "LaneIndex")
    private int index;
    private float speed; // double?

    @Column(name = "LaneLength")
    private float length; // double?


    private String position;
    //TODO: Find a way to map vector

    public Lane(String id, int index)
    {
        this.laneIdentifier = id;
        this.index = index;
    }

    public Lane(Edge edge, String id, int index, float speed, float length)
    {
    }

    public String getLaneIdentifier()
    {
        return this.laneIdentifier;
    }

    public int getIndex()
    {
        return this.index;
    }

    public void setSpeed(Float speed)
    {
        this.speed = speed;
    }

    public void setLength(Float length)
    {<commit_msg>Fixed Lane to have a Default constructor again (TIJS!!!!)<commit_after>package entities;

import javax.persistence.*;
import java.util.Vector;

/**
 * Created by Niek on 14/03/14.
 * © Aidas 2014
 */
@Entity
public class Lane
{

    @Id
    @GeneratedValue
    private int id;
    private String laneIdentifier;

    @ManyToOne
    private Edge edge;

    @Column(name = "LaneIndex")
    private int index;
    private float speed; // double?

    @Column(name = "LaneLength")
    private float length; // double?


    private String position;
    //TODO: Find a way to map vector

    public Lane(String id, int index)
    {
        this.laneIdentifier = id;
        this.index = index;
    }

    public Lane(){

    }

    public Lane(Edge edge, String id, int index, float speed, float length)
    {
    }

    public String getLaneIdentifier()
    {
        return this.laneIdentifier;
    }

    public int getIndex()
    {
        return this.index;
    }

    public void setSpeed(Float speed)
    {
        this.speed = speed;
    }

    public void setLength(Float length)
    {
{'fraction_non_alphanumeric': 0.09587090650213574, 'fraction_numerical': 0.009492168960607499, 'mean_word_length': 2.243076923076923, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3100641', 'n_tokens_mistral': 661, 'n_tokens_neox': 619, 'n_words': 200}