public boolean equals(Object o) {

        if (this == o) {
            return true;
        }
        if (!(o instanceof AreaRendererEndType)) {
            return false;
        }

        AreaRendererEndType t = (AreaRendererEndType) o;
        if (!this.name.equals(t.toString())) {
            return false;
        }

        return true;