public class JenevaContext extends java.lang.Object implements IJenevaContext
| Modifier and Type | Method and Description |
|---|---|
IParser |
buildParser(java.lang.String name,
java.lang.Class<?> propertyClass,
PropertyMeta.ClassType propertyClassType,
Dto annotation)
Creates a property parser instance based on property class
|
static IJenevaContext |
current()
gets current Jeneva context
|
IChecker |
getChecker()
Gets singleton instance of the Checker class
|
IMath |
getMath()
Gets singleton instance of the Math class
|
IPathHelper |
getPathHelper()
Gets singleton instance of the PathHelpr class
|
PropertyMeta[] |
getPropertyDefs(java.lang.Class<?> type)
Generates an array of ProperyMeta class from a domain class
|
public static IJenevaContext current()
public IPathHelper getPathHelper()
getPathHelper in interface IJenevaContextpublic IChecker getChecker()
getChecker in interface IJenevaContextpublic IMath getMath()
getMath in interface IJenevaContextpublic PropertyMeta[] getPropertyDefs(java.lang.Class<?> type)
getPropertyDefs in interface IJenevaContexttype - domain classpublic IParser buildParser(java.lang.String name, java.lang.Class<?> propertyClass, PropertyMeta.ClassType propertyClassType, Dto annotation)
buildParser in interface IJenevaContextname - property namepropertyClass - property classpropertyClassType - property class typeannotation - Dto annotation instance