org.nakedobjects.metamodel.facetdecorator
Interface FacetDecorator

All Known Implementing Classes:
FacetDecoratorAbstract

public interface FacetDecorator


Method Summary
 Facet decorate(Facet facet, FacetHolder requiredHolder)
          If applicable, replace the provided Facet with a decorating Facet that should be held by the provided required holder.
 java.lang.String getFacetTypeNames()
           
 java.lang.Class<? extends Facet>[] getFacetTypes()
           
 

Method Detail

decorate

Facet decorate(Facet facet,
               FacetHolder requiredHolder)
If applicable, replace the provided Facet with a decorating Facet that should be held by the provided required holder.

Returns:
the decorating Facet, or null if this decoration does not apply to this Facet.

getFacetTypes

java.lang.Class<? extends Facet>[] getFacetTypes()

getFacetTypeNames

java.lang.String getFacetTypeNames()


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