Package com.quartetfs.fwk
Interface ICompilableProperty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> ICompiledProperty<T>compileFor(Class<T> cls)Compile a property instance specifically for a target class.-
Methods inherited from interface com.quartetfs.fwk.IProperty
getExpression, getName, getPropertyChain, getValue, setValue
-
-
-
-
Method Detail
-
compileFor
<T> ICompiledProperty<T> compileFor(Class<T> cls) throws ActiveViamRuntimeException
Compile a property instance specifically for a target class. The compiled property will execute faster than its parent dynamic property, but it will only support instances of the target compilation class.- Type Parameters:
T- the class.- Parameters:
cls- The class to compiles the property for.- Returns:
- compiled property
- Throws:
ActiveViamRuntimeException- If the compilation fails.
-
-