org.nakedobjects.metamodel.facets
Interface MultiTypedFacet
- All Superinterfaces:
- Facet
- All Known Subinterfaces:
- ValueFacet
- All Known Implementing Classes:
- MultiTypedFacetAbstract, ValueFacetAbstract, ValueFacetAnnotation, ValueFacetFromConfiguration, ValueFacetUsingSemanticsProvider
public interface MultiTypedFacet
- extends Facet
A Class that provides multiple facet implementations, either directly or through a delegate.
The client of this interface should use getFacet(Class) to obtain the facet implementation for
each of the facets types.
|
Method Summary |
java.lang.Class<? extends Facet>[] |
facetTypes()
All of the facet types either implemented or available by this facet implementation. |
|
getFacet(java.lang.Class<T> facet)
|
facetTypes
java.lang.Class<? extends Facet>[] facetTypes()
- All of the facet types either implemented or available by this facet implementation.
getFacet
<T extends Facet> T getFacet(java.lang.Class<T> facet)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.