Package it.tidalwave.role
Class AsExtensionsBean
- java.lang.Object
-
- it.tidalwave.role.AsExtensionsBean
-
@Configurable public class AsExtensionsBean extends java.lang.Object
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description AsExtensionsBean()
-
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)
-
-
-
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)
-
-