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

org.cinchapi.runway.Required Maven / Gradle / Ivy

package org.cinchapi.runway;

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;

/**
 * A marker to indicate that the value for a field in a {@link Record} should
 * never be null. The ORM framework will ensure that any field with this
 * annotation is not null before saving the data to the database.
 * 
 * @author jnelson
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Required {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy