Examples of alsoLoad()


Examples of com.googlecode.objectify.annotation.Subclass.alsoLoad()

   */
  public void registerSubclass(ClassTranslator<? extends P> translator) {
    byDiscriminator.put(translator.getDiscriminator(), translator);

    Subclass sub = translator.getDeclaredClass().getAnnotation(Subclass.class);
    for (String alsoLoad: sub.alsoLoad())
      byDiscriminator.put(alsoLoad, translator);

    byClass.put(translator.getDeclaredClass(), translator);
  }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.