Class CollectionJ2NoIndexMemberAndAccessorFactory
- java.lang.Object
-
- org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory
-
- org.exolab.castor.builder.factory.CollectionMemberAndAccessorFactory
-
- org.exolab.castor.builder.factory.CollectionJ2MemberAndAccessorFactory
-
- org.exolab.castor.builder.factory.CollectionJ2NoIndexMemberAndAccessorFactory
-
public class CollectionJ2NoIndexMemberAndAccessorFactory extends CollectionJ2MemberAndAccessorFactory
A Factory that avoids the creation of the index methods.
-
-
Constructor Summary
Constructors Constructor Description CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the add by index method.protected void
createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the get by index method.protected void
createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the remove by index method.protected void
createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the set by index method.-
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, createBoundPropertyCode, createIteratorMethod, generateInitializerCode
-
Methods inherited from class org.exolab.castor.builder.factory.FieldMemberAndAccessorFactory
createJavaField, getJavaNaming
-
-
-
-
Constructor Detail
-
CollectionJ2NoIndexMemberAndAccessorFactory
public CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.- Parameters:
naming
- the java naming to use
-
-
Method Detail
-
createAddByIndexMethod
protected void createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the add by index method. supresses the method creation- Overrides:
createAddByIndexMethod
in classCollectionMemberAndAccessorFactory
- Parameters:
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.
-
createGetByIndexMethod
protected void createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the get by index method. supresses the method creation- Overrides:
createGetByIndexMethod
in classCollectionMemberAndAccessorFactory
- Parameters:
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.
-
createSetByIndexMethod
protected void createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the set by index method. supresses the method creation- Overrides:
createSetByIndexMethod
in classCollectionMemberAndAccessorFactory
- Parameters:
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.
-
createRemoveByIndexMethod
protected void createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
Creates the remove by index method. supresses the method creation- Overrides:
createRemoveByIndexMethod
in classCollectionMemberAndAccessorFactory
- Parameters:
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.
-
-