Esempio n. 1
0
 public PhoneNumber setCountryCodeSource(CountryCodeSource value)
 {
     //if (value == null) {
     //  throw new NullPointerException();
     //}
     _hasCountryCodeSource = true;
     countryCodeSource_    = value;
     return(this);
 }
Esempio n. 2
0
 public PhoneNumber setCountryCodeSource(CountryCodeSource?value)
 {
     if (value == null)
     {
         throw new NullReferenceException();
     }
     hasCountryCodeSource = true;
     countryCodeSource_   = value.Value;
     return(this);
 }
 public PhoneNumber()
 {
     countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;
 }
 public PhoneNumber setCountryCodeSource(CountryCodeSource value)
 {
     //if (value == null) {
       //  throw new NullPointerException();
       //}
       _hasCountryCodeSource = true;
       countryCodeSource_ = value;
       return this;
 }
 public PhoneNumber clearCountryCodeSource()
 {
     _hasCountryCodeSource = false;
       countryCodeSource_ = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;
       return this;
 }
Esempio n. 6
0
 public PhoneNumber clearCountryCodeSource()
 {
     hasCountryCodeSource = false;
     countryCodeSource_   = CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN;
     return(this);
 }