Package com.quartetfs.fwk
Interface ICompilableProperty
- All Known Implementing Classes:
Property
Extension of the IProperty interface that adds support for compiled properties.
- Author:
- ActiveViam
-
Method Summary
Modifier and TypeMethodDescription<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 Details
-
compileFor
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.
-