/** * Sets the telephone numbers by which individuals can speak to the responsible organization or individual. * This method writes in the {@linkplain DefaultContact#getPhones() contact phones}, if the contact that own * this phone is known. * * @param newValues the new telephone numbers, or {@code null} if none. * * @deprecated As of ISO 19115:2014, replaced by a {@linkplain #setNumber(String) number} * code {@code TelephoneType.VOICE}. */ @Deprecated public void setVoices(final Collection<? extends String> newValues) { ((LegacyTelephones) getVoices()).setValues(newValues); }
/** * Sets the telephone numbers by which individuals can speak to the responsible organization or individual. * This method writes in the {@linkplain DefaultContact#getPhones() contact phones}, if the contact that own * this phone is known. * * @param newValues the new telephone numbers, or {@code null} if none. * * @deprecated As of ISO 19115:2014, replaced by a {@linkplain #setNumber(String) number} * code {@code TelephoneType.VOICE}. */ @Deprecated public void setVoices(final Collection<? extends String> newValues) { ((LegacyTelephones) getVoices()).setValues(newValues); }
/** * Sets the telephone number of a facsimile machine for the responsible organization or individual. * This method writes in the {@linkplain DefaultContact#getPhones() contact phones}, if the contact * that own this phone is known. * * @param newValues the new telephone number, or {@code null} if none. * * @deprecated As of ISO 19115:2014, replaced by a {@linkplain #setNumber(String) number} * with {@code TelephoneType.FACSIMILE}. */ @Deprecated public void setFacsimiles(final Collection<? extends String> newValues) { ((LegacyTelephones) getFacsimiles()).setValues(newValues); } }
/** * Sets the telephone number of a facsimile machine for the responsible organization or individual. * This method writes in the {@linkplain DefaultContact#getPhones() contact phones}, if the contact * that own this phone is known. * * @param newValues the new telephone number, or {@code null} if none. * * @deprecated As of ISO 19115:2014, replaced by a {@linkplain #setNumber(String) number} * with {@code TelephoneType.FACSIMILE}. */ @Deprecated public void setFacsimiles(final Collection<? extends String> newValues) { ((LegacyTelephones) getFacsimiles()).setValues(newValues); } }