com.google.code.morphia.annotations.PrePersist Maven / Gradle / Ivy
package com.google.code.morphia.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Called before the data has been persisted to the datastore (before mapping is done).
*
* @author Scott Hernandez
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.METHOD })
public @interface PrePersist {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy