~raginggoblin/infolog/infolog

« back to all changes in this revision

Viewing changes to InfologServer/lib/hibernate-annotations-3.4.0.GA/src/org/hibernate/annotations/NotFound.java

  • Committer: Raging Goblin
  • Date: 2013-11-16 16:51:32 UTC
  • Revision ID: raging_goblin-20131116165132-weujnptzc88uy4ah
Mavenized the project, now using shared project InfologSync

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.hibernate.annotations;
2
 
 
3
 
import static java.lang.annotation.ElementType.FIELD;
4
 
import static java.lang.annotation.ElementType.METHOD;
5
 
import java.lang.annotation.Retention;
6
 
import static java.lang.annotation.RetentionPolicy.RUNTIME;
7
 
import java.lang.annotation.Target;
8
 
 
9
 
/**
10
 
 * Action to do when an element is not found on a association whiel beeing expected
11
 
 *
12
 
 * @author Emmanuel Bernard
13
 
 */
14
 
@Target({METHOD, FIELD})
15
 
@Retention(RUNTIME)
16
 
public @interface NotFound {
17
 
        NotFoundAction action() default NotFoundAction.EXCEPTION;
18
 
}