CollectionJ2NoIndexMemberAndAccessorFactorypublic class CollectionJ2MemberAndAccessorFactory extends CollectionMemberAndAccessorFactory
| Constructor | Description |
|---|---|
CollectionJ2MemberAndAccessorFactory(JavaNaming naming) |
Creates a new CollectionJ2MemberAndAccessorFactory.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
createAddMethod(CollectionInfo fieldInfo,
JClass jClass) |
Creates the add method for this collection.
|
protected void |
createCollectionIterationMethods(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50) |
Generate methods for iterating over the objects in the collection.
|
protected void |
createEnumerateMethod(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50) |
Creates the enumerate method.
|
addMaxSizeCheck, createAccessMethods, createAddByIndexMethod, createBoundPropertyCode, createGetByIndexMethod, createIteratorMethod, createRemoveByIndexMethod, createSetByIndexMethod, generateInitializerCodecreateJavaField, getJavaNamingpublic CollectionJ2MemberAndAccessorFactory(JavaNaming naming)
naming - the javaNaming to useprotected final void createCollectionIterationMethods(CollectionInfo fieldInfo, JClass jClass, boolean useJava50)
createCollectionIterationMethods in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionI to translatejClass - the JClass to which we add this methoduseJava50 - true if source code is supposed to be generated for Java 5protected final void createEnumerateMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50)
createEnumerateMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.useJava50 - java version flagprotected final void createAddMethod(CollectionInfo fieldInfo, JClass jClass)
createAddMethod in class CollectionMemberAndAccessorFactoryfieldInfo - the collectionInfo to translatejClass - the jClass to add the method to.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com