|
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.ctx.ICollModel
public class ICollModel
The IListModel implementation of BTT Context data model:IndexedCollection
Constructor Summary | |
---|---|
ICollModel(IndexedCollection icoll)
Construct the ICollModel object |
Method Summary | |
---|---|
void |
add(IModel model)
Appends the specified element(IModel) to the end of this list. |
void |
add(int index,
IModel model)
Add the element(IModel) to the specified position in this list. |
void |
clear()
Removes all of the elements from this list. |
IModel |
createChildElement(java.lang.String name)
Create child element using the name |
IModel |
get(int index)
Returns the element(IModel) at the specified position in this list. |
java.lang.Object |
getContent()
|
IModel |
remove(int index)
Removes the element(IModel) at the specified position in this list. |
void |
set(int index,
IModel model)
Replaces the element at the specified position in this list with the specified element (optional operation). |
int |
size()
Returns the number of elements in this list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ICollModel(IndexedCollection icoll)
icoll
- the BTT IndexedCollection objectMethod Detail |
---|
public IModel get(int index) throws java.lang.IndexOutOfBoundsException
IListModel
get
in interface IListModel
index
- index of element to return.
java.lang.IndexOutOfBoundsException
IListModel.get(int)
public java.lang.Object getContent()
getContent
in interface IModel
IModel.getContent()
public void add(IModel model)
IListModel
add
in interface IListModel
model
- element to be appended to this list.IListModel.add(IModel)
public void add(int index, IModel model)
IListModel
add
in interface IListModel
index
- the index of the element to addedmodel
- element to be added to this list.IListModel.add(int, IModel)
public void clear()
IListModel
clear
in interface IListModel
IListModel.clear()
public IModel remove(int index) throws ObjectNotFoundException
IListModel
remove
in interface IListModel
index
- the index of the element to removed.
ObjectNotFoundException
IListModel.remove(int)
public int size()
IListModel
size
in interface IListModel
IListModel.size()
public void set(int index, IModel model) throws java.lang.IllegalArgumentException
IListModel
set
in interface IListModel
index
- the index of the element to addedmodel
- element to be added to this list.
java.lang.IllegalArgumentException
IListModel.set(int, IModel)
public IModel createChildElement(java.lang.String name) throws java.lang.IllegalArgumentException
IListModel
createChildElement
in interface IListModel
name
- the name of the child element
java.lang.IllegalArgumentException
IListModel.createChildElement(String)
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |