Package it.tidalwave.role.ui.spi
Class SimpleCompositePresentable
- java.lang.Object
-
- it.tidalwave.role.ui.spi.SimpleCompositePresentable
-
- All Implemented Interfaces:
Presentable
public class SimpleCompositePresentable extends java.lang.Object implements Presentable
An implementation ofPresentablefor datum instances having theSimpleCompositerole.- Author:
- Fabrizio Giudici
- Stereotype:
- Role
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.ui.Presentable
_Presentable_
-
-
Constructor Summary
Constructors Constructor Description SimpleCompositePresentable(As datum)SimpleCompositePresentable(As datum, PresentationModelFactory defaultPresentationModelFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresentationModelcreatePresentationModel(java.util.Collection<java.lang.Object> roles)Creates aPresentationModelwith some roles.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.role.ui.Presentable
createPresentationModel, createPresentationModel
-
-
-
-
Constructor Detail
-
SimpleCompositePresentable
public SimpleCompositePresentable(@Nonnull As datum)- Parameters:
datum- the owner
-
SimpleCompositePresentable
public SimpleCompositePresentable(@Nonnull As datum, @Nonnull PresentationModelFactory defaultPresentationModelFactory)- Parameters:
datum- the ownerdefaultPresentationModelFactory- thePresentationModelFactory
-
-
Method Detail
-
createPresentationModel
@Nonnull public PresentationModel createPresentationModel(@Nonnull java.util.Collection<java.lang.Object> roles)
Creates aPresentationModelwith some roles.- Specified by:
createPresentationModelin interfacePresentable- Parameters:
roles- the roles- Returns:
- the
PresentationModel
-
-