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
ConstructorsConstructorDescriptionSimpleCompositePresentable(As datum) SimpleCompositePresentable(As datum, PresentationModelFactory defaultPresentationModelFactory) -
Method Summary
Modifier and TypeMethodDescriptioncreatePresentationModel(Collection<Object> roles) Creates aPresentationModelwith some roles.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 aPresentationModelwith some roles.- Specified by:
createPresentationModelin interfacePresentable- Parameters:
roles- the roles- Returns:
- the
PresentationModel
-