/*$************************************************************************************************
 **
 ** $Id: AuthorityURL.java 831 2006-05-01 00:27:23Z Desruisseaux $
 **
 ** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/layer/AuthorityURL.java $
 **
 ** Copyright (C) 2005 Open GIS Consortium, Inc.
 ** All Rights Reserved. http://www.opengis.org/legal/
 **
 *************************************************************************************************/
package org.opengis.layer;

// OpenGIS direct dependencies
import org.opengis.metadata.Identifier;
import org.opengis.metadata.citation.OnLineResource;

// Annotations
import org.opengis.annotation.XmlElement;


/**
 * Encloses an {@link OnLineResource} which states the linkage of a document defining
 * the meaning of the {@link Identifier} values which reference this {@code AuthorityURL}.
 * 
 * @version Implementation specification 1.3
 * @author Jesse Crossley (SYS Technologies)
 * @since GeoAPI 2.0
 */
@XmlElement("AuthorityURL") // 7.2.4.6.13 Identifier and AuthorityURL
public interface AuthorityURL {
    /**
     * Provides the name of this {@code AuthorityURL} which may be referenced
     * by one or more {@link Identifier}s.
     *
     * @return this {@code AuthorityURL}'s name.
     */
    @XmlElement("Name")
    String getName();
    
    /**
     * Provides the linkage to the document defining the meaning of the values
     * used by {@link Identifier}s which reference this {@code AuthorityURL}.
     *
     * @return the linkage to the {@code Identifier} value defining document.
     */
    @XmlElement("OnlineResource")
    OnLineResource getOnlineResource();
}

 

Ads help maintain this website.