Interface IFieldsMetadataClassSerializer
- All Superinterfaces:
fr.opensagres.xdocreport.core.discovery.IBaseDiscovery
- All Known Implementing Classes:
AbstractFieldsMetadataClassSerializer
public interface IFieldsMetadataClassSerializer
extends fr.opensagres.xdocreport.core.discovery.IBaseDiscovery
Fields metadata serializer used to load
FieldsMetadata from Java Class model.-
Method Summary
Modifier and TypeMethodDescriptionvoidload(FieldsMetadata fieldsMetadata, String key, Class<?> clazz) Load simple fields metadata in the given fieldsMetadata by using the given key and Java Class.voidload(FieldsMetadata fieldsMetadata, String key, Class<?> clazz, boolean listType) Load simple/list fields metadata in the given fieldsMetadata by using the given key and Java Class.Methods inherited from interface fr.opensagres.xdocreport.core.discovery.IBaseDiscovery
getDescription, getId
-
Method Details
-
load
void load(FieldsMetadata fieldsMetadata, String key, Class<?> clazz) throws fr.opensagres.xdocreport.core.XDocReportException Load simple fields metadata in the given fieldsMetadata by using the given key and Java Class.- Parameters:
fieldsMetadata- the fieldsMetadata where fields metadata must be added.key- the key (first token) to use to generate field name.clazz- the Java class model to use to load fields metadata.- Throws:
fr.opensagres.xdocreport.core.XDocReportException
-
load
void load(FieldsMetadata fieldsMetadata, String key, Class<?> clazz, boolean listType) throws fr.opensagres.xdocreport.core.XDocReportException Load simple/list fields metadata in the given fieldsMetadata by using the given key and Java Class.- Parameters:
fieldsMetadata- the fieldsMetadata where fields metadata must be added.key- the key (first token) to use to generate field name.clazz- the Java class model to use to load fields metadata.listType- true if it's a list and false otherwise.- Throws:
fr.opensagres.xdocreport.core.XDocReportException
-