org.exolab.castor.builder.factory
Class CollectionODMG30MemberAndAccessorFactory

java.lang.Object
  extended by org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory
      extended by org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory
          extended by org.exolab.castor.builder.factory.CollectionODMG30MemberAndAccessorFactory

public class CollectionODMG30MemberAndAccessorFactory
extends CollectionMemberAndAccessorFactory

A JField factory for CollectionODMG30Member.


Constructor Summary
CollectionODMG30MemberAndAccessorFactory(JavaNaming naming)
          Creates a new CollectionODMG30MemberAndAccessorFactory.
 
Method Summary
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.
 
Methods inherited from class org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory
addMaxSizeCheck, createAccessMethods, createAddByIndexMethod, createAddMethod, createBoundPropertyCode, createCollectionIterationMethods, createGetByIndexMethod, createIteratorMethod, createRemoveByIndexMethod, createSetByIndexMethod
 
Methods inherited from class org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory
createJavaField, getJavaNaming
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionODMG30MemberAndAccessorFactory

public CollectionODMG30MemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionODMG30MemberAndAccessorFactory.

Parameters:
naming - the javaNaming to use
Method Detail

generateInitializerCode

public void generateInitializerCode(FieldInfo fieldInfo,
                                    JSourceCode jsc)
Creates the field initialization code in a constructor.

Overrides:
generateInitializerCode in class CollectionMemberAndAccessorFactory
Parameters:
fieldInfo - the fieldInfo to translate
jsc - the JSourceCode in which to add the source to

createEnumerateMethod

protected void createEnumerateMethod(CollectionInfo fieldInfo,
                                     JClass jClass,
                                     boolean useJava50)
Creates the enumerate method.

Overrides:
createEnumerateMethod in class CollectionMemberAndAccessorFactory
Parameters:
fieldInfo - the collectionInfo to translate
jClass - the jClass to add the method to.
useJava50 - java version flag


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com