|
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.KCollModel
public class KCollModel
The BTT Context implementation of IMapModel: KeyedCollection
Constructor Summary | |
---|---|
KCollModel(KeyedCollection kcoll)
Construct the KCollModel object |
Method Summary | |
---|---|
IModel |
get(java.lang.Object key)
Returns the value to which this map maps the specified key. |
java.lang.Object |
getContent()
|
java.lang.Object[] |
keys()
Returns an array view of the keys contained in this map. |
void |
put(java.lang.Object key,
IModel model)
Associates the specified value with the specified key in this map |
IModel |
remove(java.lang.Object key)
Removes the mapping for this key from this map if it is present |
int |
size()
Returns the number of key-value mappings in this map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KCollModel(KeyedCollection kcoll)
kcoll
- the KeyedCollection objectMethod Detail |
---|
public java.lang.Object getContent()
getContent
in interface IModel
IModel.getContent()
public IModel get(java.lang.Object key) throws ObjectNotFoundException
IMapModel
get
in interface IMapModel
key
- key whose associated value is to be returned.
ObjectNotFoundException
IMapModel.get(Object)
public java.lang.Object[] keys()
IMapModel
keys
in interface IMapModel
IMapModel.keys()
public IModel remove(java.lang.Object key) throws ObjectNotFoundException
IMapModel
remove
in interface IMapModel
key
- key whose mapping is to be removed from the map.
ObjectNotFoundException
- if element isn't foundIMapModel.remove(Object)
public void put(java.lang.Object key, IModel model)
IMapModel
put
in interface IMapModel
key
- key with which the specified value is to be associated.model
- value to be associated with the specified key.IMapModel.put(Object, IModel)
public int size()
IMapModel
size
in interface IMapModel
IMapModel.size()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |