@Facets

deprecated:

currently alternatively works with MetaModelRefiner(s), but ultimately FacetFactory(s) should be managed by Spring

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.

API

Facets.java
@interface Facets {
  String[] facetFactoryNames() default {};     (1)
  Class<?>[] facetFactoryClasses() default {};     (2)
}
1 facetFactoryNames

Array of fully qualified names of classes each implementing org.apache.isis.core.metamodel.facets.FacetFactory .

2 facetFactoryClasses

Array of Class s, each indicating a class implementing org.apache.isis.core.metamodel.facets.FacetFactory .

Members

facetFactoryNames

Array of fully qualified names of classes each implementing org.apache.isis.core.metamodel.facets.FacetFactory .

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

facetFactoryClasses

Array of Class s, each indicating a class implementing org.apache.isis.core.metamodel.facets.FacetFactory .

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