|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DefaultsProvider<T>
Provides a mechanism for providing a default value for an object.
This interface is used in two complementary ways:
org.nakedobjects.applib.annotations.Defaulted annotation, allowing a class that needs to have a
default to indicate where its default comes from. Whatever the class that implements this interface, it must also expose either a public no-arg constructor, or (for implementations that also are Facets) a public constructor that accepts a single FacetHolder. This constructor allows the framework to instantiate the object reflectively.
Parser,
EncoderDecoder,
ValueSemanticsProvider| Method Summary | |
|---|---|
T |
getDefaultValue()
The default, if any (as a pojo). |
| Method Detail |
|---|
T getDefaultValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||