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

com.avaje.ebean.annotation.WhoModified Maven / Gradle / Ivy

There is a newer version: 8.1.1
Show newest version
package com.avaje.ebean.annotation;

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

/**
 * Mapped onto a entity bean property that represents the user id of
 * who last modified the entity>
 * 

* To use this annotation you need to implement CurrentUserProvider. * The type of the bean property should match the type returned by * CurrentUserProvider. *

* *

Example:

*
{@code
 *
 *   @WhoModified
 *   String whoModified;
 *
 * }
*/ @Target({ElementType.FIELD, ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) public @interface WhoModified { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy