Class FieldParser
- java.lang.Object
-
- ml.calumma.rest.repository.core.symbol.FieldParser
-
public class FieldParser extends Object
-
-
Constructor Summary
Constructors Constructor Description FieldParser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetColumnName(String name)static String[]getJoinTables(String name)static TypegetTypeOfColumn(Class actualLayer, String fieldName)static javax.persistence.criteria.FromjoinOrGetJoinedExpression(javax.persistence.criteria.Root root, Class rootEntity, String fieldPath)static ParsedFieldparseField(Class actualLayer, String fieldName)
-
-
-
Method Detail
-
parseField
public static ParsedField parseField(Class actualLayer, String fieldName) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
getTypeOfColumn
public static Type getTypeOfColumn(Class actualLayer, String fieldName) throws NoSuchFieldException
- Throws:
NoSuchFieldException
-
joinOrGetJoinedExpression
public static javax.persistence.criteria.From joinOrGetJoinedExpression(javax.persistence.criteria.Root root, Class rootEntity, String fieldPath) throws NoSuchFieldException- Throws:
NoSuchFieldException
-
-