|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IlrXmlDataTypeMapper.CollectionMapper
Determines how the XML collection elements are mapped on XOM fields, and finally on Java fields.
Method Summary | |
---|---|
void |
addComponent(Object collection,
Object component)
Adds a new component in the collection |
Object |
createCollection(Collection components)
Creates a new instance of the collection knowing its components |
Object |
createVoidCollection()
Creates a new instance of a void collection. |
Object |
getComponent(Object collection,
int ix)
Get a component of the collection knowing its index |
Class |
getImplementationType()
Gets the Java implementation class of the collection. |
Iterator |
getIterator(Object collection)
Get an iterator on the collection |
int |
getSize(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(Object collection,
Object component)
Remove a component of a collection |
Method Detail |
---|
IlrType getXomType()
Class getImplementationType()
Object createVoidCollection()
Object createCollection(Collection components)
components
- the components to be added in the new collection
void addComponent(Object collection, Object component)
collection
- The collection.component
- The component.boolean isAddComponentSupported()
Object getComponent(Object collection, int ix)
collection
- the collectionix
- index of the component in the collectionvoid removeComponent(Object collection, Object component)
collection
- the collectioncomponent
- the component to be removed from the collectionIterator getIterator(Object collection)
collection
- the collection to be iterated.
int getSize(Object collection)
collection
- the collection to be iterated.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |