/** * Returns the role or position of the responsible person Only one of * {@link #getIndividualName() individualName}, {@link #getOrganisationName() organisationName} * and {@code positionName} shall be provided. * * <p>This implementation returns the position of the first {@code Individual} found in the collection of * {@linkplain #getParties() parties}. If no individual is found in the parties, then this method fallbacks * on the first organisation member.</p> * * @return role or position of the responsible person, or {@code null} * * @deprecated As of ISO 19115:2014, replaced by {@link DefaultIndividual#getPositionName()}. */ @Override @Deprecated @XmlElement(name = "positionName") @Dependencies("getParties") public InternationalString getPositionName() { return getIndividual(true); }
/** * Returns the role or position of the responsible person Only one of * {@link #getIndividualName() individualName}, {@link #getOrganisationName() organisationName} * and {@code positionName} shall be provided. * * <p>This implementation returns the position of the first {@code Individual} found in the collection of * {@linkplain #getParties() parties}. If no individual is found in the parties, then this method fallbacks * on the first organisation member.</p> * * @return role or position of the responsible person, or {@code null} * * @deprecated As of ISO 19115:2014, replaced by {@link DefaultIndividual#getPositionName()}. */ @Override @Deprecated @XmlElement(name = "positionName") @Dependencies("getParties") public InternationalString getPositionName() { return getIndividual(true); }
/** * Returns the name of the responsible person- surname, given name, title separated by a delimiter. * Only one of {@code individualName}, {@link #getOrganisationName() organisationName} * and {@link #getPositionName() positionName} shall be provided. * * <p>This implementation returns the name of the first {@code Individual} found in the collection of * {@linkplain #getParties() parties}. If no individual is found in the parties, then this method fallbacks * on the first organisation member.</p> * * @return name, surname, given name and title of the responsible person, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@code getName()} in {@link DefaultIndividual}. */ @Override @Deprecated @Dependencies("getParties") @XmlElement(name = "individualName") public String getIndividualName() { final InternationalString name = getIndividual(false); return (name != null) ? name.toString() : null; }
/** * Returns the name of the responsible person- surname, given name, title separated by a delimiter. * Only one of {@code individualName}, {@link #getOrganisationName() organisationName} * and {@link #getPositionName() positionName} shall be provided. * * <p>This implementation returns the name of the first {@code Individual} found in the collection of * {@linkplain #getParties() parties}. If no individual is found in the parties, then this method fallbacks * on the first organisation member.</p> * * @return name, surname, given name and title of the responsible person, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@code getName()} in {@link DefaultIndividual}. */ @Override @Deprecated @XmlElement(name = "individualName") @Dependencies("getParties") public String getIndividualName() { final InternationalString name = getIndividual(false); return (name != null) ? name.toString() : null; }