Class PersistenceAnnotationsParser
java.lang.Object
org.eclipse.dirigible.database.persistence.parser.PersistenceAnnotationsParser
public class PersistenceAnnotationsParser extends Object
The Persistence Annotations Parser.
-
Constructor Summary
Constructors Constructor Description PersistenceAnnotationsParser() -
Method Summary
Modifier and Type Method Description static Field[]collectFields(Class<? extends Object> clazz)Collect fields.PersistenceTableModelparsePojo(Class<? extends Object> clazz)Parses the pojo.PersistenceTableModelparsePojo(Object pojo)Parses the pojo.
-
Constructor Details
-
PersistenceAnnotationsParser
public PersistenceAnnotationsParser()
-
-
Method Details
-
parsePojo
Parses the pojo.- Parameters:
pojo- the pojo- Returns:
- the persistence table model
- Throws:
PersistenceException- the persistence exception
-
parsePojo
Parses the pojo.- Parameters:
clazz- the clazz- Returns:
- the persistence table model
- Throws:
PersistenceException- the persistence exception
-
collectFields
Collect fields.- Parameters:
clazz- the clazz- Returns:
- the field[]
-