net.sourceforge.jfacets.annotations
Annotation Type FacetKey


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface FacetKey

The FacetKey annotation. Allows to mark classes as facets.

Author:
Remi VANKEISBELCK - remi@rvkb.com
See Also:
AnnotatedFacetDescriptorManager

Required Element Summary
 java.lang.String name
          The name of the facet (mandatory)
 java.lang.String profileId
          The profile ID (mandatory)
 
Optional Element Summary
 java.lang.Class targetObjectType
          The target object type (optional, defaults to Object.class)
 

Element Detail

name

public abstract java.lang.String name
The name of the facet (mandatory)


profileId

public abstract java.lang.String profileId
The profile ID (mandatory)

targetObjectType

public abstract java.lang.Class targetObjectType
The target object type (optional, defaults to Object.class)

Default:
java.lang.Object.class


Copyright © 2011. All Rights Reserved.