public static interface IlrXmlDataTypeMapper.CollectionMapper
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(java.lang.Object collection,
java.lang.Object component)
Adds a new component in the collection
|
java.lang.Object |
createCollection(java.util.Collection components)
Creates a new instance of the collection knowing its components
|
java.lang.Object |
createVoidCollection()
Creates a new instance of a void collection.
|
java.lang.Object |
getComponent(java.lang.Object collection,
int ix)
Get a component of the collection knowing its index
|
java.lang.Class |
getImplementationType()
Gets the Java implementation class of the collection.
|
java.util.Iterator |
getIterator(java.lang.Object collection)
Get an iterator on the collection
|
int |
getSize(java.lang.Object collection)
Get the size of the collection
|
IlrType |
getXomType()
Gets the Java collection type used in the XOM
|
boolean |
isAddComponentSupported()
Determines if the collection accepts to add new component.
|
void |
removeComponent(java.lang.Object collection,
java.lang.Object component)
Remove a component of a collection
|
IlrType getXomType()
java.lang.Class getImplementationType()
java.lang.Object createVoidCollection()
java.lang.Object createCollection(java.util.Collection components)
components - the components to be added in the new collectionvoid addComponent(java.lang.Object collection,
java.lang.Object component)
collection - The collection.component - The component.boolean isAddComponentSupported()
java.lang.Object getComponent(java.lang.Object collection,
int ix)
collection - the collectionix - index of the component in the collectionvoid removeComponent(java.lang.Object collection,
java.lang.Object component)
collection - the collectioncomponent - the component to be removed from the collectionjava.util.Iterator getIterator(java.lang.Object collection)
collection - the collection to be iterated.int getSize(java.lang.Object collection)
collection - the collection to be iterated.© Copyright IBM Corp. 1987, 2017