@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
@Qualifier
public @interface FacesDataModel
The presence of this annotation
on a class automatically registers the class with the runtime as a
DataModel
that's capable of wrapping a type indicated by the
forClass()
attribute.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?> |
forClass
The value of this annotation attribute is taken to be the type that the DataModel that is annotated with this annotation is able to wrap. |
public abstract java.lang.Class<?> forClass
The value of this annotation attribute is taken to be the type that the DataModel that is annotated with this annotation is able to wrap.
Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms