# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Enums
- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

- Deprecated Classes
  Class and Description
  DefaultFeatureTypeList Not anymore part of ISO 19115.
  DefaultScope As of ISO 19115:2014, `DQ_Scope` has been replaced by `MD_Scope`. The later is defined in the `org.apache.sis.metadata.iso.maintenance` package.
  GeoHashCoder Moved to `GeohashReferenceSystem`. Note that axis order of `encode(double, double)` method differs.

- Deprecated Enums
  Enum and Description
  GeoHashCoder.Format Moved to `GeohashReferenceSystem.Format`.

- Deprecated Fields
  Field and Description
  org.apache.sis.storage.netcdf.AttributeNames.ACKNOWLEDGMENT Renamed `AttributeNames.ACKNOWLEDGEMENT`.
  org.apache.sis.storage.netcdf.AttributeNames.NAMING_AUTHORITY Moved to `IDENTIFIER.VOCABULARY`.
  org.apache.sis.storage.netcdf.AttributeNames.STANDARD_NAME_VOCABULARY Moved to `STANDARD_NAME.VOCABULARY`.
  org.apache.sis.storage.netcdf.AttributeNames.VOCABULARY Moved to `KEYWORDS.VOCABULARY`.

- Deprecated Methods
  Method and Description
  org.apache.sis.metadata.MetadataStandard.asTreeTable(Object, ValueExistencePolicy) Replaced by `MetadataStandard.asTreeTable(Object, Class, ValueExistencePolicy)` (i.e. a `Class` argument has been inserted after the metadata value).
  org.apache.sis.metadata.MetadataStandard.asValueMap(Object, KeyNamePolicy, ValueExistencePolicy) Replaced by `MetadataStandard.asValueMap(Object, Class, KeyNamePolicy, ValueExistencePolicy)` (i.e. a `Class` argument has been inserted after the metadata value).
  org.apache.sis.referencing.operation.builder.LinearTransformBuilder.create() Replaced by `LinearTransformBuilder.create(MathTransformFactory)`.
  org.apache.sis.referencing.operation.transform.DefaultMathTransformFactory.createBaseToDerived(CoordinateReferenceSystem, ParameterValueGroup, CoordinateSystem) Replaced by `DefaultMathTransformFactory.createParameterizedTransform(ParameterValueGroup, Context)`.
  org.apache.sis.referencing.operation.transform.DefaultMathTransformFactory.createCoordinateSystemChange(CoordinateSystem, CoordinateSystem) Replaced by `DefaultMathTransformFactory.createCoordinateSystemChange(CoordinateSystem, CoordinateSystem, Ellipsoid)`
  org.apache.sis.referencing.operation.transform.DefaultMathTransformFactory.createFromXML(String)
  org.apache.sis.referencing.operation.DefaultCoordinateOperationFactory.createOperation(CoordinateReferenceSystem, CoordinateReferenceSystem, OperationMethod) Replaced by `DefaultCoordinateOperationFactory.createOperation(CoordinateReferenceSystem, CoordinateReferenceSystem, CoordinateOperationContext)`.
  org.apache.sis.referencing.operation.transform.DefaultMathTransformFactory.createParameterizedTransform(ParameterValueGroup) Replaced by `DefaultMathTransformFactory.createParameterizedTransform(ParameterValueGroup, Context)` where the `Context` argument can be null.
  org.apache.sis.metadata.iso.citation.DefaultContact.getAddress() As of ISO 19115:2014, replaced by `DefaultContact.getAddresses()`.
  org.apache.sis.metadata.iso.identification.DefaultAggregateInformation.getAggregateDataSetIdentifier() As of ISO 19115:2014, replaced by the first identifier of `DefaultAggregateInformation.getAggregateDataSetName()`.
  org.apache.sis.metadata.iso.identification.DefaultAggregateInformation.getAggregateDataSetName() As of ISO 19115:2014, replaced by `DefaultAssociatedResource.getName()`.
  org.apache.sis.metadata.iso.identification.AbstractIdentification.getAggregationInfo() As of ISO 19115:2014, replaced by `AbstractIdentification.getAssociatedResources()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getCharacterSet() As of GeoAPI 3.1, replaced by `DefaultMetadata.getCharacterSets()`.
  org.apache.sis.metadata.iso.citation.DefaultCitation.getCollectiveTitle() Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.getContactInfo() As of ISO 19115:2014, replaced by `AbstractParty.getContactInfo()`.
  org.apache.sis.metadata.iso.content.DefaultCoverageDescription.getContentType() As of ISO 19115:2014, moved to `DefaultAttributeGroup.getContentTypes()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getDataSetUri() As of ISO 19115:2014, replaced by `DefaultMetadata.getIdentificationInfo()` followed by `AbstractIdentification.getCitation()` followed by `DefaultCitation.getOnlineResources()`.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.getDateOfNextUpdate() As of ISO 19115:2014, replaced by `DefaultMaintenanceInformation.getMaintenanceDates()` in order to enable inclusion of a `DateType` to describe the type of the date. The associated date type is `DateType.valueOf("NEXT_UPDATE")`.
  org.apache.sis.metadata.iso.DefaultMetadata.getDateStamp() As of ISO 19115:2014, replaced by `DefaultMetadata.getDateInfo()`.
  org.apache.sis.metadata.iso.distribution.DefaultMedium.getDensities() As of ISO 19115:2014, replaced by `DefaultMedium.getDensity()`.
  org.apache.sis.metadata.iso.content.DefaultRangeDimension.getDescriptor() As of ISO 19115:2014, renamed `DefaultRangeDimension.getDescription()`.
  org.apache.sis.metadata.iso.content.DefaultCoverageDescription.getDimensions() As of ISO 19115:2014, moved to `DefaultAttributeGroup.getAttributes()`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.getDomainCode() Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.maintenance.DefaultScope.getExtent() As of ISO 19115:2014, replaced by `DefaultScope.getExtents()`.
  org.apache.sis.metadata.iso.citation.DefaultTelephone.getFacsimiles() As of ISO 19115:2014, replaced by a number code `TelephoneType.FACSIMILE`.
  org.apache.sis.metadata.iso.content.DefaultFeatureCatalogueDescription.getFeatureTypes() As of ISO 19115:2014, replaced by `DefaultFeatureCatalogueDescription.getFeatureTypeInfo()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getFileIdentifier() As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataIdentifier()` in order to include the codespace attribute.
  org.apache.sis.metadata.iso.DefaultMetadata.getHierarchyLevelNames() As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataScopes()` followed by `DefaultMetadataScope.getName()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getHierarchyLevels() As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataScopes()` followed by `DefaultMetadataScope.getResourceScope()`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.getIndividualName() As of ISO 19115:2014, replaced by `getName()` in `DefaultIndividual`.
  org.apache.sis.metadata.iso.DefaultMetadata.getLanguage() As of GeoAPI 3.1, replaced by `DefaultMetadata.getLanguages()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getLocales() As of GeoAPI 3.1, replaced by `DefaultMetadata.getLanguages()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getMetadataStandardName() As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataStandards()` followed by `DefaultCitation.getTitle()`.
  org.apache.sis.metadata.iso.DefaultMetadata.getMetadataStandardVersion() As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataStandards()` followed by `DefaultCitation.getEdition()`.
  org.apache.sis.referencing.operation.DefaultPassThroughOperation.getMethod() May be removed in GeoAPI 4.0 since it does not apply to pass-through operations.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.getName() As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().getAlternateTitles()`. Note that citation alternate titles are often used for abbreviations.
  org.apache.sis.metadata.iso.distribution.DefaultDigitalTransferOptions.getOffLine() As of ISO 19115:2014, replaced by `DefaultDigitalTransferOptions.getOffLines()`.
  org.apache.sis.metadata.iso.citation.DefaultContact.getOnlineResource() As of ISO 19115:2014, replaced by `DefaultContact.getOnlineResources()`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.getOrganisationName() As of ISO 19115:2014, replaced by `getName()` in `DefaultOrganisation`.
  org.apache.sis.referencing.operation.DefaultPassThroughOperation.getParameterValues() May be removed in GeoAPI 4.0 since it does not apply to pass-through operations.
  org.apache.sis.metadata.iso.DefaultMetadata.getParentIdentifier() As of ISO 19115:2014, replaced by `DefaultMetadata.getParentMetadata()`.
  org.apache.sis.metadata.iso.citation.DefaultContact.getPhone() As of ISO 19115:2014, replaced by `DefaultContact.getPhones()`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.getPositionName() As of ISO 19115:2014, replaced by `DefaultIndividual.getPositionName()`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.getRationales() As of ISO 19115:2014, replaced by `DefaultExtendedElementInformation.getRationale()`.
  org.apache.sis.metadata.iso.lineage.DefaultSource.getScaleDenominator() As of ISO 19115:2014, moved to `DefaultResolution.getEquivalentScale()`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.getShortName() Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.lineage.DefaultSource.getSourceExtents() As of ISO 19115:2014, moved to `DefaultScope.getExtents()`.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.getSpecification() As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().getTitle()`.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.getUpdateScopeDescriptions() As of ISO 19115:2014, `DefaultMaintenanceInformation.getUpdateScopes()` and `getUpdateScopeDescriptions()` were combined into `DefaultMaintenanceInformation.getMaintenanceScopes()` in order to allow specifying a scope that includes a spatial and temporal extent.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.getUpdateScopes() As of ISO 19115:2014, `getUpdateScopes()` and `DefaultMaintenanceInformation.getUpdateScopeDescriptions()` were combined into `DefaultMaintenanceInformation.getMaintenanceScopes()` in order to allow specifying a scope that includes a spatial and temporal extent.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.getVersion() As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().getEdition()`.
  org.apache.sis.metadata.iso.citation.DefaultTelephone.getVoices() As of ISO 19115:2014, replaced by a number with `TelephoneType.VOICE`.
  org.apache.sis.util.logging.LoggerAdapter.logrb(Level, String, String, String, String) JDK 8 has deprecated this method.
  org.apache.sis.util.logging.LoggerAdapter.logrb(Level, String, String, String, String, Object) JDK 8 has deprecated this method.
  org.apache.sis.util.logging.LoggerAdapter.logrb(Level, String, String, String, String, Object[]) JDK 8 has deprecated this method.
  org.apache.sis.util.logging.LoggerAdapter.logrb(Level, String, String, String, String, Throwable) JDK 8 has deprecated this method.
  org.apache.sis.measure.Units.multiply(Unit<Q>, double) Replaced by Apache SIS implementation of `Unit.multiply(double)`.
  org.apache.sis.metadata.iso.citation.DefaultContact.setAddress(Address) As of ISO 19115:2014, replaced by `DefaultContact.setAddresses(Collection)`.
  org.apache.sis.metadata.iso.identification.DefaultAggregateInformation.setAggregateDataSetIdentifier(Identifier) As of ISO 19115:2014, replaced by an identifier of `DefaultAggregateInformation.getAggregateDataSetName()`.
  org.apache.sis.metadata.iso.identification.DefaultAggregateInformation.setAggregateDataSetName(Citation) As of ISO 19115:2014, replaced by `DefaultAssociatedResource.setName(Citation)`.
  org.apache.sis.metadata.iso.identification.AbstractIdentification.setAggregationInfo(Collection<? extends AggregateInformation>) As of ISO 19115:2014, replaced by `AbstractIdentification.setAssociatedResources(Collection)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setCharacterSet(CharacterSet) As of GeoAPI 3.1, replaced by `DefaultMetadata.setCharacterSets(Collection)`.
  org.apache.sis.metadata.iso.citation.DefaultCitation.setCollectiveTitle(InternationalString) Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.setContactInfo(Contact) As of ISO 19115:2014, replaced by `AbstractParty.setContactInfo(Collection)`.
  org.apache.sis.metadata.iso.content.DefaultCoverageDescription.setContentType(CoverageContentType) As of ISO 19115:2014, moved to `DefaultAttributeGroup.setContentTypes(Collection)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setDataSetUri(String) As of ISO 19115:2014, replaced by `DefaultMetadata.getIdentificationInfo()` followed by `AbstractIdentification.getCitation()` followed by `DefaultCitation.setOnlineResources(Collection)`.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.setDateOfNextUpdate(Date)
  org.apache.sis.metadata.iso.DefaultMetadata.setDateStamp(Date) As of ISO 19115:2014, replaced by `DefaultMetadata.setDateInfo(Collection)`.
  org.apache.sis.metadata.iso.distribution.DefaultMedium.setDensities(Collection<? extends Double>) As of ISO 19115:2014, replaced by `DefaultMedium.setDensity(Double)`.
  org.apache.sis.metadata.iso.content.DefaultRangeDimension.setDescriptor(InternationalString) As of ISO 19115:2014, renamed `DefaultRangeDimension.setDescription(InternationalString)`.
  org.apache.sis.metadata.iso.content.DefaultCoverageDescription.setDimensions(Collection<? extends RangeDimension>) As of ISO 19115:2014, moved to `DefaultAttributeGroup.setAttributes(Collection)`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.setDomainCode(Integer) Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.maintenance.DefaultScope.setExtent(Extent) As of ISO 19115:2014, replaced by `DefaultScope.setExtents(Collection)`.
  org.apache.sis.metadata.iso.citation.DefaultTelephone.setFacsimiles(Collection<? extends String>) As of ISO 19115:2014, replaced by a number with `TelephoneType.FACSIMILE`.
  org.apache.sis.metadata.iso.content.DefaultFeatureCatalogueDescription.setFeatureTypes(Collection<? extends GenericName>) As of ISO 19115:2014, replaced by `DefaultFeatureCatalogueDescription.setFeatureTypeInfo(Collection)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setFileIdentifier(String) As of ISO 19115:2014, replaced by `DefaultMetadata.setMetadataIdentifier(Identifier)`
  org.apache.sis.metadata.iso.DefaultMetadata.setHierarchyLevelNames(Collection<? extends String>) As of ISO 19115:2014, replaced by `DefaultMetadata.setMetadataScopes(Collection)` and `DefaultMetadataScope.setName(InternationalString)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setHierarchyLevels(Collection<? extends ScopeCode>) As of ISO 19115:2014, replaced by `DefaultMetadata.setMetadataScopes(Collection)` and `DefaultMetadataScope.setResourceScope(ScopeCode)`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.setIndividualName(String) As of ISO 19115:2014, replaced by `setName(InternationalString)` in `DefaultIndividual`.
  org.apache.sis.metadata.iso.DefaultMetadata.setLanguage(Locale) As of GeoAPI 3.1, replaced by `DefaultMetadata.setLanguages(Collection)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setLocales(Collection<? extends Locale>) As of GeoAPI 3.1, replaced by `DefaultMetadata.setLanguages(Collection)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setMetadataStandardName(String) As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataStandards()` followed by `DefaultCitation.setTitle(InternationalString)`.
  org.apache.sis.metadata.iso.DefaultMetadata.setMetadataStandardVersion(String) As of ISO 19115:2014, replaced by `DefaultMetadata.getMetadataStandards()` followed by `DefaultCitation.setEdition(InternationalString)`.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.setName(InternationalString) As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().setAlternateTitles(Collection)`.
  org.apache.sis.metadata.iso.distribution.DefaultDigitalTransferOptions.setOffLine(Medium) As of ISO 19115:2014, replaced by `DefaultDigitalTransferOptions.setOffLines(Collection)`.
  org.apache.sis.metadata.iso.citation.DefaultContact.setOnlineResource(OnlineResource) As of ISO 19115:2014, replaced by `DefaultContact.setOnlineResources(Collection)`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.setOrganisationName(InternationalString) As of ISO 19115:2014, replaced by `setName(InternationalString)` in `DefaultOrganisation`.
  org.apache.sis.metadata.iso.DefaultMetadata.setParentIdentifier(String) As of ISO 19115:2014, replaced by `DefaultMetadata.getParentMetadata()`.
  org.apache.sis.metadata.iso.citation.DefaultContact.setPhone(Telephone) As of ISO 19115:2014, replaced by `DefaultContact.setPhones(Collection)`.
  org.apache.sis.metadata.iso.citation.DefaultResponsibleParty.setPositionName(InternationalString) As of ISO 19115:2014, replaced by `DefaultIndividual.setPositionName(InternationalString)`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.setRationales(Collection<? extends InternationalString>) As of ISO 19115:2014, replaced by `DefaultExtendedElementInformation.setRationale(InternationalString)`.
  org.apache.sis.metadata.iso.lineage.DefaultSource.setScaleDenominator(RepresentativeFraction) As of ISO 19115:2014, moved to `DefaultResolution.setEquivalentScale(RepresentativeFraction)`.
  org.apache.sis.metadata.iso.DefaultExtendedElementInformation.setShortName(String) Removed as of ISO 19115:2014.
  org.apache.sis.metadata.iso.lineage.DefaultSource.setSourceExtents(Collection<? extends Extent>) As of ISO 19115:2014, moved to `DefaultScope.setExtents(Collection)`.
  org.apache.sis.referencing.operation.builder.LinearTransformBuilder.setSourcePoints(DirectPosition...) Replaced by `LinearTransformBuilder.setControlPoints(Map)`.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.setSpecification(InternationalString) As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().setTitle(InternationalString)`.
  org.apache.sis.referencing.operation.builder.LinearTransformBuilder.setTargetPoints(DirectPosition...) Replaced by `LinearTransformBuilder.setControlPoints(Map)`.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.setUpdateScopeDescriptions(Collection<? extends ScopeDescription>) As of ISO 19115:2014, replaced by `DefaultMaintenanceInformation.setMaintenanceScopes(Collection)`.
  org.apache.sis.metadata.iso.maintenance.DefaultMaintenanceInformation.setUpdateScopes(Collection<? extends ScopeCode>) As of ISO 19115:2014, replaced by `DefaultMaintenanceInformation.setMaintenanceScopes(Collection)`.
  org.apache.sis.metadata.iso.distribution.DefaultFormat.setVersion(InternationalString) As of ISO 19115:2014, replaced by `DefaultFormat.getFormatSpecificationCitation().setEdition(InternationalString)`.
  org.apache.sis.metadata.iso.citation.DefaultTelephone.setVoices(Collection<? extends String>) As of ISO 19115:2014, replaced by a number code `TelephoneType.VOICE`.
  org.apache.sis.referencing.CommonCRS.UTM(double, double) Generalized by `CommonCRS.universal(double, double)`, which can also return a UPS projection when appropriate.

- Deprecated Constructors
  Constructor and Description
  org.apache.sis.metadata.iso.distribution.DefaultFormat(CharSequence, CharSequence) This constructor had a straightforward meaning in ISO 19115:2003, but became confusing with the ISO 19115:2014 update because of differences in the `Format` model. Consider using `MetadataSource.lookup(Class, String)` instead.
  org.apache.sis.storage.netcdf.NetcdfStore(StorageConnector) Replaced by `NetcdfStore.NetcdfStore(NetcdfStoreProvider, StorageConnector)`.
  org.apache.sis.storage.netcdf.AttributeNames.Responsible(String, String, String, String, String, Role) replaced by the constructor with one more argument (the type).

Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.