Class AsExtensionsBean


  • @Configurable
    public class AsExtensionsBean
    extends java.lang.Object
    Author:
    Fabrizio Giudici
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T as​(java.lang.Object datum, java.lang.Class<T> roleType, As.NotFoundBehaviour<T> notFoundBehaviour)  
      <T> java.util.List<? extends T> asMany​(java.lang.Object datum, java.lang.Class<T> roleType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsExtensionsBean

        public AsExtensionsBean()
    • Method Detail

      • as

        public <T> T as​(@Nonnull
                        java.lang.Object datum,
                        @Nonnull
                        java.lang.Class<T> roleType,
                        @Nonnull
                        As.NotFoundBehaviour<T> notFoundBehaviour)
      • asMany

        public <T> java.util.List<? extends T> asMany​(@Nonnull
                                                      java.lang.Object datum,
                                                      @Nonnull
                                                      java.lang.Class<T> roleType)