Package it.tidalwave.role.ui.spi
Class SimpleCompositePresentableTest.MockDatum
- java.lang.Object
-
- it.tidalwave.role.ui.spi.SimpleCompositePresentableTest.MockDatum
-
- All Implemented Interfaces:
Identifiable
,As
- Enclosing class:
- SimpleCompositePresentableTest
public static class SimpleCompositePresentableTest.MockDatum extends java.lang.Object implements As, Identifiable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.As
As.Defaults, As.NotFoundBehaviour<T extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.Identifiable
_Identifiable_
-
-
Constructor Summary
Constructors Constructor Description MockDatum(java.lang.String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
as(java.lang.Class<T> roleType)
<T> T
as(java.lang.Class<T> roleType, As.NotFoundBehaviour<T> notFoundBehaviour)
<T> java.util.Collection<T>
asMany(java.lang.Class<T> roleType)
java.lang.String
toString()
SimpleCompositePresentableTest.MockDatum
withChildren(SimpleCompositePresentableTest.MockDatum... children)
SimpleCompositePresentableTest.MockDatum
withChildren(java.util.List<SimpleCompositePresentableTest.MockDatum> children)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface it.tidalwave.util.As
asOptional, maybeAs
-
Methods inherited from interface it.tidalwave.role.Identifiable
getId
-
-
-
-
Method Detail
-
withChildren
@Nonnull public SimpleCompositePresentableTest.MockDatum withChildren(@Nonnull SimpleCompositePresentableTest.MockDatum... children)
-
withChildren
@Nonnull public SimpleCompositePresentableTest.MockDatum withChildren(@Nonnull java.util.List<SimpleCompositePresentableTest.MockDatum> children)
-
as
@Nonnull public <T> T as(@Nonnull java.lang.Class<T> roleType, @Nonnull As.NotFoundBehaviour<T> notFoundBehaviour)
-
asMany
@Nonnull public <T> java.util.Collection<T> asMany(@Nonnull java.lang.Class<T> roleType)
-
toString
@Nonnull public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-