/** * @deprecated As of ISO 19115:2014, replaced by {@link #getRationale()}. * * @return reason for creating the extended element. */ @Override @Deprecated @XmlElement(name = "rationale") @Dependencies("getRationale") public Collection<InternationalString> getRationales() { return rationales = nonNullCollection(rationales, InternationalString.class); }
if (dependencies != null) { boolean hasValue = false; for (final String dep : dependencies.value()) { info.setMetadataType(type); hasValue |= (fetchValue(info, impl.getMethod(dep)) != null);
for (final String ref : dep.value()) {
/** * @deprecated As of ISO 19115:2014, replaced by {@link #getRationale()}. * * @return reason for creating the extended element. */ @Override @Deprecated @Dependencies("getRationale") public Collection<InternationalString> getRationales() { return rationales = nonNullCollection(rationales, InternationalString.class); }
/** * @deprecated As of ISO 19115:2014, replaced by {@link #getDensity()}. * * @return density at which the data is recorded, or {@code null}. */ @Override @Deprecated @XmlElement(name = "density") @Dependencies("getDensity") public Collection<Double> getDensities() { return densities = nonNullCollection(densities, Double.class); }
/** * Citation information about the aggregate dataset. * * @return citation information about the aggregate dataset, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getName()}. */ @Override @Deprecated @XmlElement(name = "aggregateDataSetName") @Dependencies("getName") public Citation getAggregateDataSetName() { return getName(); }
/** * Returns the name of the metadata standard (including profile name) used. * * @return name of the metadata standard used, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getMetadataStandards()} * followed by {@link DefaultCitation#getTitle()}. */ @Override @Deprecated @XmlElement(name = "metadataStandardName") @Dependencies("getMetadataStandards") public String getMetadataStandardName() { return getMetadataStandard(false); }
/** * Citation information about the aggregate dataset. * * @return citation information about the aggregate dataset, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getName()}. */ @Override @Deprecated @Dependencies("getName") @XmlElement(name = "aggregateDataSetName") public Citation getAggregateDataSetName() { return getName(); }
/** * Returns the description of the range of a cell measurement value. * This method fetches the value from the {@linkplain #getDescription() description}. * * @return description of the range of a cell measurement value, or {@code null}. * * @deprecated As of ISO 19115:2014, renamed {@link #getDescription()}. */ @Override @Deprecated @XmlElement(name = "descriptor") @Dependencies("getDescription") public InternationalString getDescriptor() { return getDescription(); }
/** * Returns the version (profile) of the metadata standard used. * * @return version of the metadata standard used, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getMetadataStandards()} * followed by {@link DefaultCitation#getEdition()}. */ @Override @Deprecated @XmlElement(name = "metadataStandardVersion") @Dependencies("getMetadataStandards") public String getMetadataStandardVersion() { return getMetadataStandard(true); }
/** * Returns the name of the metadata standard (including profile name) used. * * @return name of the metadata standard used, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getMetadataStandards()} * followed by {@link DefaultCitation#getTitle()}. */ @Override @Deprecated @Dependencies("getMetadataStandards") @XmlElement(name = "metadataStandardName", namespace = LegacyNamespaces.GMD) public String getMetadataStandardName() { return getMetadataStandard(false); }
/** * Returns the version (profile) of the metadata standard used. * * @return version of the metadata standard used, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getMetadataStandards()} * followed by {@link DefaultCitation#getEdition()}. */ @Override @Deprecated @Dependencies("getMetadataStandards") @XmlElement(name = "metadataStandardVersion", namespace = LegacyNamespaces.GMD) public String getMetadataStandardVersion() { return getMetadataStandard(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 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); }
/** * @deprecated As of ISO 19115:2014, replaced by {@link #getDensity()}. * * @return density at which the data is recorded, or {@code null}. */ @Override @Deprecated @Dependencies("getDensity") @XmlElement(name = "density", namespace = LegacyNamespaces.GMD) public Collection<Double> getDensities() { if (!FilterByVersion.LEGACY_METADATA.accept()) return null; return densities = nonNullCollection(densities, Double.class); }
/** * Identification information about aggregate dataset. * * @return identification information about aggregate dataset, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by the first identifier of {@link #getAggregateDataSetName()}. */ @Override @Deprecated @Dependencies("getName") @XmlElement(name = "aggregateDataSetIdentifier") public Identifier getAggregateDataSetIdentifier() { return getAggregateDataSetIdentifier(getAggregateDataSetName()); }
/** * Returns information about offline media on which the resource can be obtained. * * @return offline media on which the resource can be obtained, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getOffLines()}. */ @Override @Deprecated @XmlElement(name = "offLine") @Dependencies("getOffLines") public Medium getOffLine() { return LegacyPropertyAdapter.getSingleton(getOffLines(), Medium.class, null, DefaultDigitalTransferOptions.class, "getOffLine"); }
/** * Provides information about an alternatively used localized character string for a linguistic extension. * * @return alternatively used localized character string for a linguistic extension. * * @deprecated As of GeoAPI 3.1, replaced by {@link #getLanguages()}. */ @Override @Deprecated @XmlElement(name = "locale") @XmlJavaTypeAdapter(PT_Locale.class) @Dependencies("getLanguages") public Collection<Locale> getLocales() { return OtherLocales.filter(getLanguages()); }
/** * Returns on-line information that can be used to contact the individual or organization. * This method returns the first {@link #getOnlineResources() online resource} element, or null if none. * * @return on-line information that can be used to contact the individual or organization, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by {@link #getOnlineResources()}. */ @Override @Deprecated @XmlElement(name = "onlineResource") @Dependencies("getOnlineResources") public OnlineResource getOnlineResource() { return LegacyPropertyAdapter.getSingleton(getOnlineResources(), OnlineResource.class, null, DefaultContact.class, "getOnlineResource"); }
/** * Returns the name of a subset, profile, or product specification of the format. * * @return name of a subset, profile, or product specification of the format, or {@code null}. * * @deprecated As of ISO 19115:2014, replaced by * <code>{@linkplain #getFormatSpecificationCitation()}.{@linkplain DefaultCitation#getTitle() getTitle()}</code>. */ @Override @Deprecated @XmlElement(name = "specification") @Dependencies("getFormatSpecificationCitation") public InternationalString getSpecification() { final Citation citation = getFormatSpecificationCitation(); return (citation != null) ? citation.getTitle() : null; }