/** * Set the telephone number of a facsimile machine for the responsible organization or * individual. * * @since 2.4 */ public synchronized void setFacsimiles(final Collection<? extends String> newValues) { facsimiles = copyCollection(newValues, facsimiles, String.class); } }
/** * Returns the telephone numbers of a facsimile machine for the responsible organization or * individual. * * @since 2.4 */ public synchronized Collection<String> getFacsimiles() { return (facsimiles = nonNullCollection(facsimiles, String.class)); }
Collection voices = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setVoices(voices); Collection fax = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setFacsimiles(fax);
contactInfo.getAddress().getElectronicMailAddresses().add((String)node.getChildValue("ContactElectronicMailAddress")); TelephoneImpl tel = new TelephoneImpl(); tel.setVoices(new HashSet()); tel.getVoices().add(node.getChildValue("ContactVoiceTelephone")); tel.setFacsimiles(new HashSet()); tel.getFacsimiles().add(node.getChildValue("ContactFacsimileTelephone"));
/** * Set the telephone number by which individuals can speak to the responsible * organization or individual. * * @deprecated Replaced by {@link #setVoices}. */ public void setVoice(final String newValue) { setVoices(java.util.Collections.singleton(newValue)); }
/** * Set the telephone number of a facsimile machine for the responsible organization * or individual. * * @deprecated Replaced by {@link #setFacsimiles}. */ public void setFacsimile(final String newValue) { setFacsimiles(java.util.Collections.singleton(newValue)); }
Collection voices = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setVoices(voices); Collection fax = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setFacsimiles(fax);
Collection voices = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setVoices(voices); Collection fax = Collections.singleton(value[i].getValue()); if (telephone == null) { telephone = new TelephoneImpl(); telephone.setFacsimiles(fax);
/** * Set the telephone numbers by which individuals can speak to the responsible organization or * individual. * * @since 2.4 */ public synchronized void setVoices(final Collection<? extends String> newValues) { voices = copyCollection(newValues, voices, String.class); }
/** * Returns the telephone numbers by which individuals can speak to the responsible organization * or individual. * * @since 2.4 */ public synchronized Collection<String> getVoices() { return (voices = nonNullCollection(voices, String.class)); }
/** * Set the telephone number of a facsimile machine for the responsible organization * or individual. * * @since 2.4 */ public synchronized void setFacsimiles(final Collection newValues) { facsimiles = copyCollection(newValues, facsimiles, String.class); } }
/** * Returns the telephone numbers of a facsimile machine for the responsible organization * or individual. * * @since 2.4 */ public synchronized Collection<String> getFacsimiles() { return (facsimiles = nonNullCollection(facsimiles, String.class)); }
/** * Set the telephone numbers by which individuals can speak to the responsible * organization or individual. * * @since 2.4 */ public synchronized void setVoices(final Collection<? extends String> newValues) { voices = copyCollection(newValues, voices, String.class); }
/** * Returns the telephone numbers by which individuals can speak to the responsible * organization or individual. * * @since 2.4 */ public synchronized Collection getVoices() { return voices = nonNullCollection(voices, String.class); }
/** * Set the telephone number of a facsimile machine for the responsible organization * or individual. * * @since 2.4 */ public synchronized void setFacsimiles(final Collection<? extends String> newValues) { facsimiles = copyCollection(newValues, facsimiles, String.class); } }
/** * Returns the telephone numbers by which individuals can speak to the responsible * organization or individual. * * @since 2.4 */ public synchronized Collection<String> getVoices() { return (voices = nonNullCollection(voices, String.class)); }
/** * Set the telephone numbers by which individuals can speak to the responsible * organization or individual. * * @since 2.4 */ public synchronized void setVoices(final Collection newValues) { voices = copyCollection(newValues, voices, String.class); }
/** * Returns the telephone numbers of a facsimile machine for the responsible organization * or individual. * * @since 2.4 */ public synchronized Collection getFacsimiles() { return facsimiles = nonNullCollection(facsimiles, String.class); }