|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.context.core.LazyExpressionModel<T>
T - The return type.public class LazyExpressionModel<T>
A model with a object source. This model is evaluated only on runtime.
| Field Summary | |
|---|---|
protected Object |
source
The source of expression. |
| Constructor Summary | |
|---|---|
LazyExpressionModel(Object source)
Creates a lazy model from a source. |
|
| Method Summary | |
|---|---|
T |
getObject(IContext context)
Return the object. |
Object |
getSource()
Gets the source. |
void |
setSource(Object source)
Sets the source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Object source
| Constructor Detail |
|---|
public LazyExpressionModel(Object source)
source - The expression source.| Method Detail |
|---|
public Object getSource()
public void setSource(Object source)
source - The source.
public T getObject(IContext context)
throws ContextException
IModel
getObject in interface IModel<T>context - The context.
ContextException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||