Class CollectionInfoJ2SortedSet

  • All Implemented Interfaces:
    NatureExtendable, PropertyHolder, XMLInfo

    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 Detail

      • CollectionInfoJ2SortedSet

        public CollectionInfoJ2SortedSet​(XSType contentType,
                                         java.lang.String name,
                                         java.lang.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 Detail

      • createAddByIndexMethod

        protected void createAddByIndexMethod​(JClass jClass)
      • createGetByIndexMethod

        protected void createGetByIndexMethod​(JClass jClass)
      • createSetByIndexMethod

        protected void createSetByIndexMethod​(JClass jClass)
      • createRemoveByIndexMethod

        protected void createRemoveByIndexMethod​(JClass jClass)