|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.model.AbstractModelAdapter
com.ibm.btt.model.ctx.ContextModelAdapter
public class ContextModelAdapter
The BTT Context implementation of ModelAdapter.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.ibm.btt.model.AbstractModelAdapter |
---|
AbstractModelAdapter.Result |
Field Summary |
---|
Fields inherited from class com.ibm.btt.model.AbstractModelAdapter |
---|
resolver |
Constructor Summary | |
---|---|
ContextModelAdapter(Context ctx)
Construct the ContextModelAdapter object |
Method Summary | |
---|---|
java.lang.Object |
getContent()
Return BTT Context instance |
IModelFactory |
getModelFactory()
Get the model factory instance |
protected AbstractModelAdapter.Result |
getNestedModel(java.lang.String name)
Get the root model using the name. |
IModel |
getRootModel()
The root model of BTT Context: the root keyedCollection |
java.lang.Object |
getValueAt(java.lang.String expression)
Using expression language to get the value from the data model The expression language must access the field model. |
void |
setValueAt(java.lang.String expression,
java.lang.Object value)
Using expression language to set the value to the data model The expression language must access the field model. |
Methods inherited from class com.ibm.btt.model.AbstractModelAdapter |
---|
getElementAt, getNestedModel, setElementAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextModelAdapter(Context ctx)
ctx
- the BTT contextMethod Detail |
---|
public IModel getRootModel()
getRootModel
in class AbstractModelAdapter
public java.lang.Object getContent()
IModel.getContent()
public IModelFactory getModelFactory()
AbstractModelAdapter
getModelFactory
in interface IModelAdapter
getModelFactory
in class AbstractModelAdapter
public java.lang.Object getValueAt(java.lang.String expression)
IModelAdapter
expression
- the expression language
IModelAdapter.getValueAt(String)
public void setValueAt(java.lang.String expression, java.lang.Object value)
IModelAdapter
expression
- the expression languagevalue
- the value to be setIModelAdapter.setValueAt(String, Object)
protected AbstractModelAdapter.Result getNestedModel(java.lang.String name)
getNestedModel
in class AbstractModelAdapter
name
- the expression language for example "employee.address.city"
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |