001    /*
002     *    GeoAPI - Java interfaces for OGC/ISO standards
003     *    http://www.geoapi.org
004     *
005     *    Copyright (C) 2009-2012 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.extent.Extent;
039    import org.opengis.util.InternationalString;
040    
041    import static org.opengis.annotation.Obligation.*;
042    import static org.opengis.annotation.Specification.*;
043    
044    
045    /**
046     * Describes the characteristics, spatial and temporal extent of the intended object to be
047     * observed.
048     *
049     * @author  Cédric Briançon (Geomatys)
050     * @version 3.0
051     * @since   2.3
052     *
053     * @navassoc - - - Identifier
054     * @navassoc - - - ObjectiveType
055     * @navassoc - - - Extent
056     * @navassoc - - - Event
057     * @navassoc - - - PlatformPass
058     * @navassoc - - - Instrument
059     */
060    @UML(identifier="MI_Objective", specification=ISO_19115_2)
061    public interface Objective {
062        /**
063         * Code used to identify the objective.
064         *
065         * @return Identify the objective.
066         */
067        @UML(identifier="identifier", obligation=MANDATORY, specification=ISO_19115_2)
068        Collection<? extends Identifier> getIdentifiers();
069    
070        /**
071         * Priority applied to the target.
072         *
073         * @return Priority applied.
074         */
075        @UML(identifier="priority", obligation=OPTIONAL, specification=ISO_19115_2)
076        InternationalString getPriority();
077    
078        /**
079         * Collection technique for the objective.
080         *
081         * @return Collection technique for the objective.
082         */
083        @UML(identifier="type", obligation=OPTIONAL, specification=ISO_19115_2)
084        Collection<? extends ObjectiveType> getTypes();
085    
086        /**
087         * Role or purpose performed by or activity performed at the objective.
088         *
089         * @return Role or purpose performed by or activity performed at the objective.
090         */
091        @UML(identifier="function", obligation=OPTIONAL, specification=ISO_19115_2)
092        Collection<? extends InternationalString> getFunctions();
093    
094        /**
095         * Extent information including the bounding box, bounding polygon, vertical and
096         * temporal extent of the objective.
097         *
098         * @return Extent information.
099         */
100        @UML(identifier="extent", obligation=OPTIONAL, specification=ISO_19115_2)
101        Collection<? extends Extent> getExtents();
102    
103        /**
104         * Event or events associated with objective completion.
105         *
106         * @return Events associated with objective completion.
107         */
108        @UML(identifier="objectiveOccurence", obligation=MANDATORY, specification=ISO_19115_2)
109        Collection<? extends Event> getObjectiveOccurences();
110    
111        /**
112         * Pass of the platform over the objective.
113         *
114         * @return Pass of the platform.
115         */
116        @UML(identifier="pass", obligation=OPTIONAL, specification=ISO_19115_2)
117        Collection<? extends PlatformPass> getPass();
118    
119        /**
120         * Instrument which senses the objective data.
121         *
122         * @return Instrument which senses the objective data.
123         */
124        @UML(identifier="sensingInstrument", obligation=OPTIONAL, specification=ISO_19115_2)
125        Collection<? extends Instrument> getSensingInstruments();
126    }