|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IListModel
An ordered collection (also known as a sequence). The user of this interface has precise control over where in the list each element is inserted. The user can access elements by their integer index (position in the list).
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. |
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 interface com.ibm.btt.model.IModel |
---|
getContent |
Method Detail |
---|
IModel get(int index) throws java.lang.IndexOutOfBoundsException
index
- index of element to return.
java.lang.IndexOutOfBoundsException
- if index is out of rangeIModel createChildElement(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the name of the child element
java.lang.IllegalArgumentException
- when exception occurs during creating the child elementint size()
void clear()
IModel remove(int index) throws ObjectNotFoundException
index
- the index of the element to removed.
ObjectNotFoundException
- if the element isn't foundvoid add(IModel model)
model
- element to be appended to this list.void add(int index, IModel model)
index
- the index of the element to addedmodel
- element to be added to this list.void set(int index, IModel model)
index
- the index of the element to addedmodel
- element to be added to this list.
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |