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

com.avaje.ebean.annotation.ChangeLog 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;

/**
 * Marks an entity bean as being included in the change logging.
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ChangeLog {

  /**
   * Specify if inserts should be explicitly Included or Excluded.
   * 

* If not defined explicitly then the server default behaviour defined * on ServerConfig is used. *

*/ ChangeLogInsertMode inserts() default ChangeLogInsertMode.DEFAULT; /** * When specified only include update requests that have at least one * of the given properties as a dirty property. *

* This provides a way to filter requests to include in the change log such that * only updates that include at least one of the given properties is included * in the change log. *

*/ String[] updatesThatInclude() default {}; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy