|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DefaultedFacet
Indicates that this class has a default.
The mechanism for providing a default will vary by the applib. In the Java applib, this is done by implementing the DefaultProvider interface.
The rest of the framework does not used this directly, but instead we infer PropertyDefaultFacet
and ActionDefaultsFacet from the method's return type / parameter types, and copy over.
| Method Summary | |
|---|---|
java.lang.Object |
getDefault()
The default (as a pojo, not a NakedObject). |
| Methods inherited from interface org.nakedobjects.metamodel.facets.Facet |
|---|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet |
| Method Detail |
|---|
java.lang.Object getDefault()
NakedObject).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||