class UcteNodeCode implements Comparable<UcteNodeCode> {

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof UcteNodeCode) {
            UcteNodeCode other = (UcteNodeCode) obj;
            return ucteCountryCode == other.ucteCountryCode
                    && geographicalSpot.equals(other.geographicalSpot)
                    && voltageLevelCode == other.voltageLevelCode
                    && Objects.equals(busbar, other.busbar);
        }
        return false;
    }

    public  UcteNodeCode(UcteCountryCode ucteCountryCode, String geographicalSpot, UcteVoltageLevelCode voltageLevelCode, Character busbar);

}