aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr404345/base/src/org/FetchProfile.java
blob: 5ad345d353559168057324e2c217885ac2c7419a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package org;

public @interface FetchProfile { 
	String name();
	FetchProfile.FetchOverride[] fetchOverrides();
	
	@interface FetchOverride {
		Class<?> entity();
		String association() default "";
	}
}

//@FetchProfiles({
//@FetchProfile(name = FetchProfileName.LOCATION, fetchOverrides = {
//				@FetchProfile.FetchOverride(entity = Location.class, association = Location.PROPERTY_SYSTEMSTATE),
//				@FetchProfile.FetchOverride(entity = Location.class, association = Location.PROPERTY_KEYVAULT) }),