org.exolab.castor.builder.info
Class CollectionInfoJ2SortedSet
java.lang.Object
org.exolab.castor.builder.info.XMLInfo
org.exolab.castor.builder.info.FieldInfo
org.exolab.castor.builder.info.CollectionInfo
org.exolab.castor.builder.info.CollectionInfoJ2
org.exolab.castor.builder.info.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
|
Constructor Summary |
CollectionInfoJ2SortedSet(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean useJava50)
Creates an instance of this class that represents information about a
Java collection type of type 'java.util.SortedSet'. |
| Methods inherited from class org.exolab.castor.builder.info.CollectionInfo |
addMaxSizeCheck, createAccessMethods, createAddAndRemoveMethods, createBoundPropertyCode, createExtraMethods, createGetAndSetMethods, createGetAsArrayMethod, createGetAsReferenceMethod, createGetCountMethod, createIteratorMethod, createRemoveAllMethod, createRemoveObjectMethod, createSetAsArrayMethod, createSetAsCopyMethod, createSetAsReferenceMethod, generateInitializerCode, getContent, getContentName, getContentType, getElementName, getMethodSuffix, getReferenceMethodSuffix, getXSList, isMultivalued, setCreateExtraMethods, setReferenceMethodSuffix |
| Methods inherited from class org.exolab.castor.builder.info.FieldInfo |
createGetterComment, createGetterMethod, createHasAndDeleteMethods, createJavaField, createSetterComment, createSetterMethod, getComment, getDeclaringClassInfo, getDefaultValue, getDeleteMethodName, getFixedValue, getHasMethodName, getMethods, getName, getReadMethodName, getValidator, getWriteMethodName, getXMLFieldHandler, isBound, isContainer, isHasAndDeleteMethods, isNillable, isTransient, setBound, setComment, setContainer, setDeclaringClassInfo, setDefaultValue, setFieldInfoReference, setFinal, setFixedValue, setMethods, setNillable, setStatic, setTransient, setValidator, setVisibility, setXMLFieldHandler |
| Methods inherited from class org.exolab.castor.builder.info.XMLInfo |
getNamespacePrefix, getNamespaceURI, getNodeName, getNodeType, getNodeTypeName, getSchemaType, isElementDefinition, isRequired, setElementDefinition, setMultivalued, setNamespacePrefix, setNamespaceURI, setNodeName, setNodeType, setRequired, setSchemaType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionInfoJ2SortedSet
public CollectionInfoJ2SortedSet(XSType contentType,
java.lang.String name,
java.lang.String elementName,
boolean useJava50)
- 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
createAddByIndexMethod
protected void createAddByIndexMethod(JClass jClass)
-
- Overrides:
createAddByIndexMethod in class CollectionInfo
createGetByIndexMethod
protected void createGetByIndexMethod(JClass jClass)
-
- Overrides:
createGetByIndexMethod in class CollectionInfo
createSetByIndexMethod
protected void createSetByIndexMethod(JClass jClass)
-
- Overrides:
createSetByIndexMethod in class CollectionInfo
createRemoveByIndexMethod
protected void createRemoveByIndexMethod(JClass jClass)
- Creates implementation of remove(int i) method.
- Overrides:
createRemoveByIndexMethod in class CollectionInfo
- Parameters:
jClass - the JClass to which we add this method
Intalio Inc. (C) 1999-2007. All rights reserved http://www.intalio.com