@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Implementation
Used to specify a defined implementation for an entity. Example:
@Implementation(PersonImpl.class)
public interface Person extends Entity {
// ...
}
The parameter is not optional.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<?> |
value |
Copyright © 2007-2018. All Rights Reserved.