mirror of https://github.com/apache/cloudstack.git
17 lines
472 B
Java
17 lines
472 B
Java
package javax.persistence;
|
|
|
|
import static java.lang.annotation.ElementType.FIELD;
|
|
import static java.lang.annotation.ElementType.METHOD;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
@Target(value = { METHOD, FIELD })
|
|
@Retention(value = RetentionPolicy.RUNTIME)
|
|
public @interface ElementCollection {
|
|
FetchType fetch() default FetchType.LAZY;
|
|
|
|
Class<?> targetClass() default void.class;
|
|
}
|