net.sf.basedb.core
Annotation Type SubtypableRelatedItems
@Documented
@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface SubtypableRelatedItems
Annotation that can be used by Subtypable
items to tell
about related items. The related items should also be subtypable items.
The annotation should be put on the
Subtypable.getItemSubtype()
method. Example:
@Override
@SubtypableRelatedItems({Item.FILE})
public ItemSubtype getItemSubtype()
{
...
}
- Since:
- 3.0
- Author:
- Nicklas
- Last modified
- $Date: 2011-10-24 15:02:46 +0200 (Mon, 24 Oct 2011) $
value
public abstract Item[] value
- Default:
- {}