Class PlmnId


  • public final class PlmnId
    extends Object
    Public Land Mobile Network (PLMN) ID.
    • Constructor Detail

      • PlmnId

        public PlmnId()
    • Method Detail

      • mcc

        public String mcc()
        Get the mcc property: Mobile Country Code (MCC).
        Returns:
        the mcc value.
      • withMcc

        public PlmnId withMcc​(String mcc)
        Set the mcc property: Mobile Country Code (MCC).
        Parameters:
        mcc - the mcc value to set.
        Returns:
        the PlmnId object itself.
      • mnc

        public String mnc()
        Get the mnc property: Mobile Network Code (MNC).
        Returns:
        the mnc value.
      • withMnc

        public PlmnId withMnc​(String mnc)
        Set the mnc property: Mobile Network Code (MNC).
        Parameters:
        mnc - the mnc value to set.
        Returns:
        the PlmnId object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.