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

grails.gorm.services.Join Maven / Gradle / Ivy

There is a newer version: 8.1.2
Show newest version
package grails.gorm.services;

import javax.persistence.criteria.JoinType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Allow specifying the join to services
 *
 * @author Graeme Rocher
 * @since 6.1
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface Join {
    /**
     * @return The property name to join on
     */
    String value();

    /**
     * @return The join type
     */
    JoinType[] type() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy