package br.usp.each.saeg.jaguar.model;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * This class represents the Line Requirement.
 *
 * Created by henrique on 7/9/17.
 */
@XmlRootElement(name = "lineRequirement")
public class LineRequirement extends Requirement {

    @Override
    public Type getType() {
        return Type.LINE;
    }

    @Override
    public String toString() {
        return "LineRequirement{" +
                "Type='" + getType() + '\'' +
                ", location='" + location + '\'' +
                ", position=" + position +
                ", suspiciousValue=" + suspiciousValue +
                ", cef=" + cef +
                ", cep=" + cep +
                ", cnf=" + cnf +
                ", cnp=" + cnp +
                '}';
    }
}
@@ -446,56 +446,8 @@
    %22
-Type='%22 + getType() + '%5C'' +%0A                %22, 
 loca

Remove type in toString, the name says the type already