Public Member Functions

org.exolab.castor.builder.CollectionInfoODMG30 Class Reference

Inheritance diagram for org.exolab.castor.builder.CollectionInfoODMG30:
org.exolab.castor.builder.CollectionInfo org.exolab.castor.builder.FieldInfo org.exolab.castor.builder.XMLInfo

List of all members.

Public Member Functions

 CollectionInfoODMG30 (XSType contentType, String name, String elementName)
void generateInitializerCode (JSourceCode jsc)
void createAddMethod (JMethod method)
void createAddInsertMethod (JMethod method)
void createGetMethod (JMethod method)
void createGetByIndexMethod (JMethod method)
void createSetArrayMethod (JMethod method)
void createSetByIndexMethod (JMethod method)
void createGetCountMethod (JMethod method)
void createEnumerateMethod (JMethod method)
void createRemoveByObjectMethod (JMethod method)
void createRemoveByIndexMethod (JMethod method)
void createRemoveAllMethod (JMethod method)

Detailed Description

A helper used for generating source that deals with Collections.

Author:
Frank Thelen
Bernd Deichmann
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:07:42

Constructor & Destructor Documentation

org.exolab.castor.builder.CollectionInfoODMG30.CollectionInfoODMG30 ( XSType  contentType,
String  name,
String  elementName 
)

Creates a new CollectionInfoODMG30

Parameters:
contextType the content type of the collection, ie. the type of objects that the collection will contain
name the name of the Collection
elementName the element name for each element in collection

References org.exolab.castor.builder.XMLInfo.getSchemaType(), org.exolab.castor.builder.XMLInfo.setSchemaType(), and org.exolab.castor.builder.CollectionInfo.xsList.


Member Function Documentation

void org.exolab.castor.builder.CollectionInfoODMG30.createEnumerateMethod ( JMethod  method  ) 
void org.exolab.castor.builder.CollectionInfoODMG30.createGetCountMethod ( JMethod  method  ) 

Creates implementation of getCount method.

Reimplemented from org.exolab.castor.builder.CollectionInfo.

void org.exolab.castor.builder.CollectionInfoODMG30.createRemoveAllMethod ( JMethod  method  ) 
void org.exolab.castor.builder.CollectionInfoODMG30.createRemoveByObjectMethod ( JMethod  method  ) 

Creates implementation of remove(Object) method.

Reimplemented from org.exolab.castor.builder.CollectionInfo.

void org.exolab.castor.builder.CollectionInfoODMG30.generateInitializerCode ( JSourceCode  jsc  ) 

Creates code for initialization of this Member

Parameters:
jsc the JSourceCode in which to add the source to

Reimplemented from org.exolab.castor.builder.CollectionInfo.

References org.exolab.javasource.JSourceCode.add(), org.exolab.javasource.JSourceCode.append(), and org.exolab.castor.builder.FieldInfo.getName().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties