Package it.tidalwave.role.ui.spi
Class SimpleCompositePresentable
java.lang.Object
it.tidalwave.role.ui.spi.SimpleCompositePresentable
- All Implemented Interfaces:
Presentable
An implementation of
Presentable
for datum instances having the SimpleComposite
role.- Author:
- Fabrizio Giudici
- Stereotype:
- Role
-
Field Summary
Fields inherited from interface it.tidalwave.role.ui.Presentable
_Presentable_
-
Constructor Summary
ConstructorDescriptionSimpleCompositePresentable
(As datum) SimpleCompositePresentable
(As datum, PresentationModelFactory defaultPresentationModelFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreatePresentationModel
(Collection<Object> roles) Creates aPresentationModel
with 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 Details
-
SimpleCompositePresentable
- Parameters:
datum
- the owner
-
SimpleCompositePresentable
public SimpleCompositePresentable(@Nonnull As datum, @Nonnull PresentationModelFactory defaultPresentationModelFactory) - Parameters:
datum
- the ownerdefaultPresentationModelFactory
- thePresentationModelFactory
-
-
Method Details
-
createPresentationModel
Creates aPresentationModel
with some roles.- Specified by:
createPresentationModel
in interfacePresentable
- Parameters:
roles
- the roles- Returns:
- the
PresentationModel
-