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

org.mongodb.morphia.annotations.ConstructorArgs Maven / Gradle / Ivy

The newest version!
package org.mongodb.morphia.annotations;


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


/**
 * Indicates that this field can be constructed from the stored fields; it doesn't require a no-args constructor. Please list the names of
 * args/fields, in order.
 *
 * @author Scott Hernandez
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ConstructorArgs {
    /**
     * The fields to use
     */
    String[] value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy