Class UcteNodeCode

    • Method Detail

      • getUcteCountryCode

        public UcteCountryCode getUcteCountryCode()
        Gets UCTE country code.
        Returns:
        UCTE country code
      • setUcteCountryCode

        public void setUcteCountryCode​(UcteCountryCode ucteCountryCode)
        Sets UCTE country code.
        Parameters:
        ucteCountryCode - UCTE country code
      • getGeographicalSpot

        public String getGeographicalSpot()
        Gets short description of the geographical spot.
        Returns:
        short description of the geographical spot
      • setGeographicalSpot

        public void setGeographicalSpot​(String geographicalSpot)
        Sets short description of the geographical spot.
        Parameters:
        geographicalSpot - short description of the geographical spot
      • getVoltageLevelCode

        public UcteVoltageLevelCode getVoltageLevelCode()
        Gets voltage level.
        Returns:
        voltage level
      • setVoltageLevelCode

        public void setVoltageLevelCode​(UcteVoltageLevelCode voltageLevelCode)
        Sets voltage level.
        Parameters:
        voltageLevelCode - voltage level
      • getBusbar

        public Character getBusbar()
        Gets letter or figure for differentiating bus bars (optional).
        Returns:
        letter or figure for differentiating bus bars
      • setBusbar

        public void setBusbar​(Character busbar)
        Sets letter or figure for differentiating bus bars (optional).
        Parameters:
        busbar - letter or figure for differentiating bus bars
      • parseUcteNodeCode

        public static Optional<UcteNodeCode> parseUcteNodeCode​(String id)
        Convert a string into a UcteNodeCode if possible, i.e. the string is compatible with the ucteNodeCode format
        Parameters:
        id - to convert into a UcteNodeCode
        Returns:
        an Optional that may contain a UcteNodeCode
      • isUcteNodeId

        public static boolean isUcteNodeId​(String id)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object