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

io.overcoded.repository.annotation.Projected Maven / Gradle / Ivy

package io.overcoded.repository.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * The outcome is one generated interface, with getter methods of annotated fields and an extra method
 * in the repository to support projections.
 * Only works with @DynamicRepository annotated classes.
 *
 * @author Adam Belak
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.SOURCE)
public @interface Projected {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy