001    /*
002     *    GeoAPI - Java interfaces for OGC/ISO standards
003     *    http://www.geoapi.org
004     *
005     *    Copyright (C) 2009-2013 Open Geospatial Consortium, Inc.
006     *    All Rights Reserved. http://www.opengeospatial.org/ogc/legal
007     *
008     *    Permission to use, copy, and modify this software and its documentation, with
009     *    or without modification, for any purpose and without fee or royalty is hereby
010     *    granted, provided that you include the following on ALL copies of the software
011     *    and documentation or portions thereof, including modifications, that you make:
012     *
013     *    1. The full text of this NOTICE in a location viewable to users of the
014     *       redistributed or derivative work.
015     *    2. Notice of any changes or modifications to the OGC files, including the
016     *       date changes were made.
017     *
018     *    THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
019     *    NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
020     *    TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT
021     *    THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY
022     *    PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
023     *
024     *    COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
025     *    CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
026     *
027     *    The name and trademarks of copyright holders may NOT be used in advertising or
028     *    publicity pertaining to the software without specific, written prior permission.
029     *    Title to copyright in this software and any associated documentation will at all
030     *    times remain with copyright holders.
031     */
032    package org.opengis.metadata.acquisition;
033    
034    import java.util.Collection;
035    
036    import org.opengis.annotation.UML;
037    import org.opengis.metadata.Identifier;
038    import org.opengis.metadata.citation.Citation;
039    import org.opengis.metadata.identification.Progress;
040    import org.opengis.util.InternationalString;
041    
042    import static org.opengis.annotation.Obligation.*;
043    import static org.opengis.annotation.Specification.*;
044    
045    
046    /**
047     * Designations for the operation used to acquire the dataset.
048     *
049     * @author  Cédric Briançon (Geomatys)
050     * @version 3.0
051     * @since   2.3
052     *
053     * @navassoc 1 - - Citation
054     * @navassoc 1 - - Identifier
055     * @navassoc 1 - - Progress
056     * @navassoc 1 - - OperationType
057     * @navassoc - - - Operation
058     * @navassoc - - - Objective
059     * @navassoc - - - Plan
060     * @navassoc - - - Platform
061     * @navassoc - - - Event
062     */
063    @UML(identifier="MI_Operation", specification=ISO_19115_2)
064    public interface Operation {
065        /**
066         * Description of the mission on which the platform observations are made and the
067         * objectives of that mission.
068         *
069         * @return Description of the mission.
070         */
071        @UML(identifier="description", obligation=OPTIONAL, specification=ISO_19115_2)
072        InternationalString getDescription();
073    
074        /**
075         * Identification of the mission.
076         *
077         * @return Identification of the mission.
078         */
079        @UML(identifier="citation", obligation=OPTIONAL, specification=ISO_19115_2)
080        Citation getCitation();
081    
082        /**
083         * Unique identification of the operation.
084         *
085         * @return Unique identification of the operation.
086         */
087        @UML(identifier="identifier", obligation=MANDATORY, specification=ISO_19115_2)
088        Identifier getIdentifier();
089    
090        /**
091         * Status of the data acquisition.
092         *
093         * @return Status of the data acquisition.
094         */
095        @UML(identifier="status", obligation=MANDATORY, specification=ISO_19115_2)
096        Progress getStatus();
097    
098        /**
099         * Collection technique for the operation.
100         *
101         * @return Collection technique for the operation.
102         */
103        @UML(identifier="type", obligation=OPTIONAL, specification=ISO_19115_2)
104        OperationType getType();
105    
106        /**
107         * Sub-missions that make up part of a larger mission.
108         *
109         * @return Sub-missions.
110         */
111        @UML(identifier="childOperation", obligation=OPTIONAL, specification=ISO_19115_2)
112        Collection<? extends Operation> getChildOperations();
113    
114        /**
115         * Object(s) or area(s) of interest to be sensed.
116         *
117         * @return Object(s) or area(s) of interest.
118         */
119        @UML(identifier="objective", obligation=OPTIONAL, specification=ISO_19115_2)
120        Collection<? extends Objective> getObjectives();
121    
122        /**
123         * Heritage of the operation.
124         *
125         * @return Heritage of the operation.
126         */
127        @UML(identifier="parentOperation", obligation=MANDATORY, specification=ISO_19115_2)
128        Operation getParentOperation();
129    
130        /**
131         * Plan satisfied by the operation.
132         *
133         * @return Plan satisfied by the operation.
134         */
135        @UML(identifier="plan", obligation=OPTIONAL, specification=ISO_19115_2)
136        Plan getPlan();
137    
138        /**
139         * Platform (or platforms) used in the operation.
140         *
141         * @return Platforms used in the operation.
142         */
143        @UML(identifier="platform", obligation=OPTIONAL, specification=ISO_19115_2)
144        Collection<? extends Platform> getPlatforms();
145    
146        /**
147         * Record of an event occurring during an operation.
148         *
149         * @return Record of an event occurring during an operation.
150         */
151        @UML(identifier="significantEvent", obligation=OPTIONAL, specification=ISO_19115_2)
152        Collection<? extends Event> getSignificantEvents();
153    }