throw new NullPointerException("contact is null"); //NOI18N
}
- // Cellphone and such ...
+ // Mobile and such ...
this.outputMessage(MessageFormat.format("Telefonnumer: {0}\nFaxnummer: {1}\nHandy: {2}\nKommentar:\n{3}", contact.getContactLandLineNumber(), contact.getContactFaxNumber(), contact.getContactMobileNumber(), contact.getContactComment()));
// Trace message
DialableLandLineNumber phoneNumber = manager.enterOwnPhoneNumber();
// Phone number
- DialableMobileNumber cellphonePhoneNumber = manager.enterOwnCellNumber();
+ DialableMobileNumber mobileNumber = manager.enterOwnCellNumber();
// Fax number
DialableFaxNumber faxNumber = manager.enterOwnFaxNumber();
// Update contact instance
contact.setContactLandLineNumber(phoneNumber);
- contact.setContactCellphoneNumber(cellphonePhoneNumber);
+ contact.setContactMobileNumber(mobileNumber);
contact.setContactFaxNumber(faxNumber);
contact.setContactEmailAddress(email);
contact.setContactComment(comment);