/** * Creates or finds a country phone code from its string representation. * @param code a country phone code * @return the corresponding CountryPhoneCode */ public static CountryPhoneCode fromString(String code) { return fromString(code, CountryPhoneCode.class); }
/** * @return known country phone codes */ public static Collection<CountryPhoneCode> values() { return values(CountryPhoneCode.class); } }
@Override public DomainContactImpl withPhoneCountryCode(CountryPhoneCode code) { inner().withPhone(code.toString() + "."); return this; }
/** * Creates or finds a country phone code from its string representation. * @param code a country phone code * @return the corresponding CountryPhoneCode */ public static CountryPhoneCode fromString(String code) { return fromString(code, CountryPhoneCode.class); }
/** * @return known country phone codes */ public static Collection<CountryPhoneCode> values() { return values(CountryPhoneCode.class); } }