Class AnnotationTypeEnumerationLoader
- java.lang.Object
-
- net.sf.basedb.clients.web.plugins.AnnotationTypeEnumerationLoader
-
- All Implemented Interfaces:
DataLoader<AnnotationType>
public class AnnotationTypeEnumerationLoader extends Object implements DataLoader<AnnotationType>
Data loader implementation for loading the enumeration values collection of an annotation type. It return the values types as a list of Object:s or null if the annotation type is not an enumeration. SeeAnnotationType.getValues()
- Since:
- 3.8
- Author:
- Nicklas
-
-
Constructor Summary
Constructors Constructor Description AnnotationTypeEnumerationLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, AnnotationType item)
Get the value for the specified property.
-
-
-
Method Detail
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, AnnotationType item) throws Exception
Description copied from interface:DataLoader
Get the value for the specified property.- Specified by:
getData
in interfaceDataLoader<AnnotationType>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-
-