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

com.github.aidensuen.mongo.annotation.InsertProvider Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
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 InsertProvider {

    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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy