001/* 002 * GeoAPI - Java interfaces for OGC/ISO standards 003 * Copyright © 2014-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.identification; 019 020import java.util.List; 021import org.opengis.annotation.UML; 022import org.opengis.util.InternationalString; 023 024import static org.opengis.annotation.Obligation.*; 025import static org.opengis.annotation.Specification.ISO_19115; 026 027 028/** 029 * Operation chain information. 030 * 031 * @author Rémi Maréchal (Geomatys) 032 * @version 3.1 033 * @since 3.1 034 */ 035@UML(identifier="SV_OperationChainMetadata", specification=ISO_19115) 036public interface OperationChainMetadata { 037 /** 038 * The name as used by the service for this chain. 039 * 040 * @return name as used by the service for this chain. 041 */ 042 @UML(identifier="name", obligation=MANDATORY, specification=ISO_19115) 043 InternationalString getName(); 044 045 /** 046 * A narrative explanation of the services in the chain and resulting output. 047 * 048 * @return narrative explanation of the services in the chain and resulting output, or {@code null} if none. 049 */ 050 @UML(identifier="description", obligation=OPTIONAL, specification=ISO_19115) 051 default InternationalString getDescription() { 052 return null; 053 } 054 055 /** 056 * Ordered information about the operations applied by the chain. 057 * 058 * @return information about the operations applied by the chain. 059 */ 060 @UML(identifier="operation", obligation=MANDATORY, specification=ISO_19115) 061 List<? extends OperationMetadata> getOperations(); 062}