001/*
002 *    GeoAPI - Java interfaces for OGC/ISO standards
003 *    Copyright © 2004-2023 Open Geospatial Consortium, Inc.
004 *    http://www.geoapi.org
005 *
006 *    Licensed under the Apache License, Version 2.0 (the "License");
007 *    you may not use this file except in compliance with the License.
008 *    You may obtain a copy of the License at
009 *
010 *        http://www.apache.org/licenses/LICENSE-2.0
011 *
012 *    Unless required by applicable law or agreed to in writing, software
013 *    distributed under the License is distributed on an "AS IS" BASIS,
014 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 *    See the License for the specific language governing permissions and
016 *    limitations under the License.
017 */
018package org.opengis.metadata;
019
020import org.opengis.annotation.UML;
021
022import static org.opengis.annotation.Obligation.*;
023import static org.opengis.annotation.Specification.*;
024
025
026/**
027 * List of names of feature types with the same spatial representation (same as spatial attributes).
028 *
029 * @author  Martin Desruisseaux (IRD)
030 * @version 3.0
031 * @since   2.0
032 *
033 * @deprecated Not anymore in ISO 19115.
034 */
035@Deprecated     // TODO: Before to remove, search "FeatureTypeList" in the whole code base.
036@UML(identifier="MD_FeatureTypeList", specification=ISO_19115, version=2003)
037public interface FeatureTypeList {
038    /**
039     * Instance of a type defined in the spatial schema.
040     *
041     * @return instance of a type defined in the spatial schema.
042     */
043    @UML(identifier="spatialObject", obligation=MANDATORY, specification=ISO_19115)
044    String getSpatialObject();
045
046    /**
047     * Name of the spatial schema used.
048     *
049     * @return name of the spatial schema used.
050     */
051    @UML(identifier="spatialSchemaName", obligation=MANDATORY, specification=ISO_19115)
052    String getSpatialSchemaName();
053}