org.nakedobjects.metamodel.facets.object.facets
Interface FacetsFacet

All Superinterfaces:
Facet, MultipleValueFacet
All Known Implementing Classes:
FacetsFacetAbstract, FacetsFacetAnnotation

public interface FacetsFacet
extends MultipleValueFacet

Indicates that this class has additional arbitrary facets, to be processed.

Corresponds to the @Facets annotation in the applib.

This Facet allows the FacetFactory(s) that will create those Facets to be accessed. Which, admittedly, is rather confusing.


Method Summary
 java.lang.Class<? extends FacetFactory>[] facetFactories()
          Returns the fully qualified class of the facet factory, which should be Class.isAssignableFrom(Class) FacetFactory.
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

facetFactories

java.lang.Class<? extends FacetFactory>[] facetFactories()
Returns the fully qualified class of the facet factory, which should be Class.isAssignableFrom(Class) FacetFactory.

Includes both the named facet factories and those identified directly by class. However, all are guaranteed to implement FacetFactory.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.