org.nakedobjects.applib.annotation
Annotation Type Facets


@Inherited
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Facets

Indicates that the class has additional facets, and specifies the how to obtain the FacetFactory to manufacture them.

At least one named factory (as per facetFactoryNames()) or one class factory (as per facetFactoryClasses()) should be specified.


Optional Element Summary
 Class<?>[] facetFactoryClasses
          Array of Classs, each indicating a class implementing org.nakedobjects.metamodel.facets.FacetFactory.
 String[] facetFactoryNames
          Array of fully qualified names of classes each implementing org.nakedobjects.metamodel.facets.FacetFactory.
 

facetFactoryNames

public abstract String[] facetFactoryNames
Array of fully qualified names of classes each implementing org.nakedobjects.metamodel.facets.FacetFactory.

Either the array provided by this method or by facetFactoryClasses() should be non-empty.

Default:
{}

facetFactoryClasses

public abstract Class<?>[] facetFactoryClasses
Array of Classs, each indicating a class implementing org.nakedobjects.metamodel.facets.FacetFactory.

Either the array provided by this method or by facetFactoryNames() should be non-empty.

Default:
{}


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