org.exolab.castor.builder.factory

Class CollectionJ2NoIndexMemberAndAccessorFactory


public class CollectionJ2NoIndexMemberAndAccessorFactory
extends CollectionJ2MemberAndAccessorFactory

A Factory that avoids the creation of the index methods.

Constructor Summary

CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.

Method Summary

protected void
createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
supresses the method creation
protected void
createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
supresses the method creation
protected void
createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
supresses the method creation
protected void
createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
supresses the method creation

Methods inherited from class org.exolab.castor.builder.factory.CollectionJ2MemberAndAccessorFactory

createAddMethod, createCollectionIterationMethods, createEnumerateMethod

Methods inherited from class org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory

addMaxSizeCheck, createAccessMethods, createAddByIndexMethod, createAddMethod, createBoundPropertyCode, createCollectionIterationMethods, createEnumerateMethod, createGetByIndexMethod, createIteratorMethod, createRemoveByIndexMethod, createSetByIndexMethod, generateInitializerCode

Methods inherited from class org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory

createAccessMethods, createJavaField, generateInitializerCode, getJavaNaming

Constructor Details

CollectionJ2NoIndexMemberAndAccessorFactory

public CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.
Parameters:
naming - the java naming to use

Method Details

createAddByIndexMethod

protected void createAddByIndexMethod(CollectionInfo fieldInfo,
                                      JClass jClass)
supresses the method creation
Overrides:
createAddByIndexMethod in interface CollectionMemberAndAccessorFactory

createGetByIndexMethod

protected void createGetByIndexMethod(CollectionInfo fieldInfo,
                                      JClass jClass)
supresses the method creation
Overrides:
createGetByIndexMethod in interface CollectionMemberAndAccessorFactory

createRemoveByIndexMethod

protected void createRemoveByIndexMethod(CollectionInfo fieldInfo,
                                         JClass jClass)
supresses the method creation
Overrides:
createRemoveByIndexMethod in interface CollectionMemberAndAccessorFactory

createSetByIndexMethod

protected void createSetByIndexMethod(CollectionInfo fieldInfo,
                                      JClass jClass)
supresses the method creation
Overrides:
createSetByIndexMethod in interface CollectionMemberAndAccessorFactory

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