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
ConstructorsConstructorDescriptionCreates a new CollectionJ2NoIndexMemberAndAccessorFactory. -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
CollectionJ2NoIndexMemberAndAccessorFactory
Creates a new CollectionJ2NoIndexMemberAndAccessorFactory.- Parameters:
naming
- the java naming to use
-
-
Method Details
-
createAddByIndexMethod
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
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
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
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.
-