|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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
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)
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionJ2NoIndexMemberAndAccessorFactory(JavaNaming naming)
naming
- the java naming to useMethod Detail |
---|
protected void createAddByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createAddByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.protected void createGetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createGetByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.protected void createSetByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createSetByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.protected void createRemoveByIndexMethod(CollectionInfo fieldInfo, JClass jClass)
createRemoveByIndexMethod
in class CollectionMemberAndAccessorFactory
fieldInfo
- the collectionInfo to translatejClass
- the jClass to add the method to.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |