org.exolab.castor.builder
public class CollectionInfoJ2 extends CollectionInfo
Version: $Revision: 1.4 $ $Date: 2005/05/03 08:12:13 $
Constructor Summary | |
---|---|
CollectionInfoJ2(XSType contentType, String name, String elementName) |
Method Summary | |
---|---|
void | createAccessMethods(JClass jClass)
Creates the Access methods for the collection described
by this CollectionInfo
|
void | createAddInsertMethod(JMethod method)
Creates implementation of add method with index.
|
void | createAddMethod(JMethod method)
Creates implementation of add method.
|
void | createClearMethod(JMethod method)
Creates implementation of clear() method.
|
void | createEnumerateMethod(JMethod method)
Creates implementation of Enumerate method.
|
void | createGetByIndexMethod(JMethod method)
Creates implementation of the get(index) method.
|
void | createGetCollectionReferenceMethod(JMethod method)
Creates implementation of collection reference get method. |
void | createGetMethod(JMethod method)
Creates implementation of object[] get() method.
|
void | createRemoveAllMethod(JMethod method)
Creates implementation of removeAll() method.
|
void | createRemoveByIndexMethod(JMethod method)
Creates implementation of remove(int i) method.
|
void | createRemoveByObjectMethod(JMethod method)
Creates implementation of remove(Object) method.
|
void | createRemoveMethod(JMethod method)
Creates implementation of remove(Object) method.
|
void | createSetArrayMethod(JMethod method)
Creates implementation of array set method
|
void | createSetByIndexMethod(JMethod method)
Creates implementation of set method.
|
void | createSetCollectionMethod(JMethod method)
Creates implementation of collection set method. |
void | createSetCollectionReferenceMethod(JMethod method)
Creates implementation of collection reference set method. |
void | generateInitializerCode(JSourceCode jsc)
Creates code for initialization of this Member |
Parameters: contentType the content type of the collection, ie. the type of objects that the collection will contain name the name of the Collection elementName the element name for each element in collection
Parameters: jClass the JClass to add the methods to.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: method the JMethod in which to create the source code.
Parameters: jsc the JSourceCode in which to add the source to