You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

FetchProfile.java 502B

12345678910111213141516
  1. package org;
  2. public @interface FetchProfile {
  3. String name();
  4. FetchProfile.FetchOverride[] fetchOverrides();
  5. @interface FetchOverride {
  6. Class<?> entity();
  7. String association() default "";
  8. }
  9. }
  10. //@FetchProfiles({
  11. //@FetchProfile(name = FetchProfileName.LOCATION, fetchOverrides = {
  12. // @FetchProfile.FetchOverride(entity = Location.class, association = Location.PROPERTY_SYSTEMSTATE),
  13. // @FetchProfile.FetchOverride(entity = Location.class, association = Location.PROPERTY_KEYVAULT) }),