public interface DefaultedFacet extends MarkerFacet
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.
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefault()
The default (as a pojo, not a
ObjectAdapter). |
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetObject getDefault()
ObjectAdapter).Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.