org.exolab.castor.builder.info

Class CollectionInfoJ2SortedSet


public final class CollectionInfoJ2SortedSet
extends CollectionInfoJ2

A helper used for generating source that deals with Java 2 Collections of type 'java.util.SortedSet'.
Version:
$Revision: 6302 $ $Date: 2006-02-23 01:08:24 -0700 (Thu, 23 Feb 2006) $
Author:
Werner Guttmann

Field Summary

Fields inherited from class org.exolab.castor.builder.info.CollectionInfo

DEFAULT_REFERENCE_SUFFIX, REFERENCE_SUFFIX_PROPERTY

Fields inherited from class org.exolab.castor.builder.info.FieldInfo

METHOD_PREFIX_ADD, METHOD_PREFIX_DELETE, METHOD_PREFIX_GET, METHOD_PREFIX_HAS, METHOD_PREFIX_IS, METHOD_PREFIX_SET, READ_METHOD, READ_WRITE_METHODS, WRITE_METHOD

Fields inherited from class org.exolab.castor.builder.info.XMLInfo

ATTRIBUTE_TYPE, CHOICE_NODE_NAME_ERROR_INDICATION, ELEMENT_TYPE, TEXT_TYPE

Constructor Summary

CollectionInfoJ2SortedSet(XSType contentType, String name, String elementName, boolean useJava50, FieldMemberAndAccessorFactory memberAndAccessorFactory, FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
Creates an instance of this class that represents information about a Java collection type of type 'java.util.SortedSet'.

Method Summary

protected void
createAddByIndexMethod(JClass jClass)
protected void
createGetByIndexMethod(JClass jClass)
protected void
createRemoveByIndexMethod(JClass jClass)
protected void
createSetByIndexMethod(JClass jClass)

Methods inherited from class org.exolab.castor.builder.info.CollectionInfo

getContent, getContentName, getContentType, getElementName, getMethodSuffix, getParameterPrefix, getReferenceMethodSuffix, getReferenceSuffix, getXSList, isExtraMethods, isMultivalued, setCreateExtraMethods, setReferenceMethodSuffix

Methods inherited from class org.exolab.castor.builder.info.FieldInfo

getComment, getDeclaringClassInfo, getDefaultValue, getDeleteMethodName, getFieldInfoReference, getFixedValue, getHasMethodName, getMemberAndAccessorFactory, getMethodSuffix, getMethods, getName, getReadMethodName, getSubstitutionGroupMembers, getValidator, getVisibility, getWriteMethodName, getXMLFieldHandler, isBound, isContainer, isFinal, isHasAndDeleteMethods, isNillable, isStatic, isTransient, setBound, setComment, setContainer, setDeclaringClassInfo, setDefaultValue, setFieldInfoReference, setFinal, setFixedValue, setMethods, setNillable, setStatic, setSubstitutionGroupMembers, setTransient, setValidator, setVisibility, setXMLFieldHandler

Methods inherited from class org.exolab.castor.builder.info.XMLInfo

getNamespacePrefix, getNamespaceURI, getNodeName, getNodeType, getNodeTypeName, getSchemaType, isElementDefinition, isMultivalued, isRequired, setElementDefinition, setMultivalued, setNamespacePrefix, setNamespaceURI, setNodeName, setNodeType, setRequired, setSchemaType

Constructor Details

CollectionInfoJ2SortedSet

public CollectionInfoJ2SortedSet(XSType contentType,
                                 String name,
                                 String elementName,
                                 boolean useJava50,
                                 FieldMemberAndAccessorFactory memberAndAccessorFactory,
                                 FieldMemberAndAccessorFactory contentMemberAndAccessorFactory)
Creates an instance of this class that represents information about a Java collection type of type 'java.util.SortedSet'.
Parameters:
contentType - 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.
useJava50 - true if code is supposed to be generated for Java 5
memberAndAccessorFactory - the FieldMemberAndAccessorFactory to be used
contentMemberAndAccessorFactory - the factory for the content

Method Details

createAddByIndexMethod

protected void createAddByIndexMethod(JClass jClass)

createGetByIndexMethod

protected void createGetByIndexMethod(JClass jClass)

createRemoveByIndexMethod

protected void createRemoveByIndexMethod(JClass jClass)

createSetByIndexMethod

protected void createSetByIndexMethod(JClass jClass)

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