public class CollectionODMG30MemberAndAccessorFactory extends CollectionMemberAndAccessorFactory
Constructor | Description |
---|---|
CollectionODMG30MemberAndAccessorFactory(JavaNaming naming) |
Creates a new CollectionODMG30MemberAndAccessorFactory.
|
Modifier and Type | Method | 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
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 flagIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com