All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opengis.annotation.Association Maven / Gradle / Ivy

There is a newer version: 24.2-oss84-1
Show newest version
/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2003-2005 Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.annotation;

import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * If a method is part of a UML association, the association name. Annotated methods shall expect no
 * argument. The association source is the enclosing interface. The association target is inferred
 * from the return type.
 *
 * @author Martin Desruisseaux (IRD)
 * @since GeoAPI 2.1
 */
@Documented
@Target(METHOD)
@Retention(SOURCE)
public @interface Association {
    /**
     * Association name.
     *
     * @return The association name.
     */
    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy