com.github.aidensuen.mongo.annotation.DeleteProvider Maven / Gradle / Ivy
package com.github.aidensuen.mongo.annotation;
import com.github.aidensuen.mongo.command.OperationType;
import com.github.aidensuen.mongo.provider.EmptyProvider;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DeleteProvider {
Class> type() default EmptyProvider.class;
String method() default "dynamicCommand";
OperationType operationType() default OperationType.UNKNOWN;
/**
* class that determines the collection to use
*
* @return
*/
Class> entityClass() default Object.class;
}