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 IJenevaContext
public IChecker getChecker()
getChecker
in interface IJenevaContext
public IMath getMath()
getMath
in interface IJenevaContext
public PropertyMeta[] getPropertyDefs(java.lang.Class<?> type)
getPropertyDefs
in interface IJenevaContext
type
- domain classpublic IParser buildParser(java.lang.String name, java.lang.Class<?> propertyClass, PropertyMeta.ClassType propertyClassType, Dto annotation)
buildParser
in interface IJenevaContext
name
- property namepropertyClass
- property classpropertyClassType
- property class typeannotation
- Dto annotation instance