public class CollectionODMG30MemberAndAccessorFactory extends CollectionMemberAndAccessorFactory
Constructor and Description |
---|
CollectionODMG30MemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionODMG30MemberAndAccessorFactory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
createEnumerateMethod(CollectionInfo fieldInfo,
JClass jClass,
boolean useJava50)
Creates the enumerate method.
|
void |
generateInitializerCode(FieldInfo fieldInfo,
JSourceCode jsc)
Creates the field initialization code in a constructor.
|
addMaxSizeCheck, createAccessMethods, createAddByIndexMethod, createAddMethod, createBoundPropertyCode, createCollectionIterationMethods, createGetByIndexMethod, createIteratorMethod, createRemoveByIndexMethod, createSetByIndexMethod
createJavaField, getJavaNaming, setUseOldFieldNaming
public CollectionODMG30MemberAndAccessorFactory(JavaNaming naming)
naming
- the javaNaming to usepublic void generateInitializerCode(FieldInfo fieldInfo, JSourceCode jsc)
generateInitializerCode
in class CollectionMemberAndAccessorFactory
fieldInfo
- the fieldInfo to translatejsc
- the JSourceCode in which to add the source toprotected void createEnumerateMethod(CollectionInfo fieldInfo, JClass jClass, boolean useJava50)
createEnumerateMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.useJava50
- java version flagCopyright © 2022. All rights reserved.