| Package | Description |
|---|---|
| de.alpharogroup.model |
Core model support for Wicket components.
|
| de.alpharogroup.model.util |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IChainingModel<T>
Models that implement this interface will support chaining of IModels. getObject() of a
IChainingModel should do something like:
if ( object instanceof IModel) { return ((IModel)object).getObject()}
else return object;
ChainingModels should also take care that the internal model detach is called when detach is
called on them.
|
interface |
IObjectClassAwareModel<T>
Interface implemented by model that can provide class of the model object.
|
interface |
IPropertyReflectionAwareModel<T>
Optional interface implemented by models that are able to provide reflection information about
object property they interact with.
|
interface |
IWrapModel<T>
A marker interface that represents a model that serves as a wrapper for another.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPropertyModel<T>
Serves as a base class for different kinds of property models.
|
class |
AbstractReadOnlyModel<T>
AbstractReadOnlyModel is an adapter base class for implementing models which have no detach logic
and are read-only.
|
class |
AbstractWrapModel<T>
Simple base class for IWrapModel objects.
|
class |
ChainingModel<T>
Default implementation of IChainingModel
|
class |
GenericModel<T>
DefaultModel is the basic implementation of an IModel. |
class |
LoadableDetachableModel<T>
Model that makes working with detachable models a breeze.
|
class |
Model<T extends Serializable>
Model is the basic implementation of an IModel. |
class |
PropertyModel<T>
A PropertyModel is used to dynamically access a model using a "property expression".
|
| Modifier and Type | Method and Description |
|---|---|
IModel<?> |
IChainingModel.getChainedModel()
Returns the chained model if there is a chained model.
|
IModel<?> |
ChainingModel.getChainedModel() |
IModel<?> |
IWrapModel.getWrappedModel()
Gets the wrapped model.
|
static <C> IModel<Collection<C>> |
GenericModel.of(Collection<C> collection)
Factory method for models that contain collections.
|
static <C> IModel<Collection<C>> |
Model.of(Collection<C> collection)
Factory method for models that contain collections.
|
static <T> IModel<T> |
Model.of(IModel<?> model)
Supresses generics warning when converting model types.
|
static <C> IModel<List<C>> |
GenericModel.ofList(List<C> list)
Factory method for models that contain lists.
|
static <C> IModel<List<C>> |
Model.ofList(List<C> list)
Factory method for models that contain lists.
|
static <K,V> IModel<Map<K,V>> |
GenericModel.ofMap(Map<K,V> map)
Factory method for models that contain maps.
|
static <K,V> IModel<Map<K,V>> |
Model.ofMap(Map<K,V> map)
Factory method for models that contain maps.
|
static <C> IModel<Set<C>> |
GenericModel.ofSet(Set<C> set)
Factory method for models that contain sets.
|
static <C> IModel<Set<C>> |
Model.ofSet(Set<C> set)
Factory method for models that contain sets.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> IModel<T> |
Model.of(IModel<?> model)
Supresses generics warning when converting model types.
|
void |
IChainingModel.setChainedModel(IModel<?> model)
Sets the model that is chained inside this model.
|
void |
ChainingModel.setChainedModel(IModel<?> model) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionModel<T>
Based on
Model but for any collections of serializable objects. |
class |
GenericBaseModel<T>
Base class for models that contain instances that do not appear to be serializable and cannot
thus use
Model directly. |
class |
ListModel<T>
Based on
Model but for lists of serializable objects. |
class |
MapModel<K,V>
Based on
Model but for maps of serializable objects. |
class |
SetModel<T>
Based on
Model but for sets of serializable objects. |
class |
WildcardCollectionModel<T>
Based on
Model but for any collections of serializable objects. |
class |
WildcardListModel<T>
Based on
Model but for lists of serializable objects. |
class |
WildcardSetModel<T>
Based on
Model but for sets of serializable objects. |
Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.