Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | PointedEar | 1 | //$Id: $ |
2 | package org.hibernate.annotations; |
||
3 | |||
4 | import java.lang.annotation.*; |
||
5 | |||
6 | /** |
||
7 | * Mark an Entity or a Collection as immutable |
||
8 | * No annotation means the element is mutable |
||
9 | * |
||
10 | * @author Emmanuel Bernard |
||
11 | */ |
||
12 | @java.lang.annotation.Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) |
||
13 | @Retention( RetentionPolicy.RUNTIME ) |
||
14 | public @interface Immutable { |
||
15 | } |