}
@Override
- public String generateMobileNumber (final DialableMobileNumber cellphoneNumber) {
+ public String generateMobileNumber (final DialableMobileNumber mobileNumber) {
// Is it null?
- if (null == cellphoneNumber) {
+ if (null == mobileNumber) {
// Return null
return null;
}
// Get all data
String number = String.format(
"%s%d%d", //NOI18N
- cellphoneNumber.getMobileProvider().getProviderCountry().getCountryExternalDialPrefix(),
- cellphoneNumber.getMobileProvider().getProviderDialPrefix(),
- cellphoneNumber.getPhoneNumber()
+ mobileNumber.getMobileProvider().getProviderCountry().getCountryExternalDialPrefix(),
+ mobileNumber.getMobileProvider().getProviderDialPrefix(),
+ mobileNumber.getPhoneNumber()
);
// Return it
/**
* Setter for ellphone number
* <p>
- * @param cellphoneNumber Mobile number
+ * @param mobileNumber Mobile number
*/
- void setMobileNumber (final Long cellphoneNumber);
+ void setMobileNumber (final Long mobileNumber);
/**
* City
* Returns a text representation of given cellphone number or null if not
* set.
* <p>
- * @param cellphoneNumber Mobile number
+ * @param mobileNumber Mobile number
* <p>
* @return Text respresentation or null
*/
- String generateMobileNumber (final DialableMobileNumber cellphoneNumber);
+ String generateMobileNumber (final DialableMobileNumber mobileNumber);
/**
* Checks/returns whether the gender/salutation is required for this