Class CollectionInfoJ2Collection

  • All Implemented Interfaces:
    NatureExtendable, PropertyHolder, XMLInfo

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

      • CollectionInfoJ2Collection

        public CollectionInfoJ2Collection​(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.Collection'.
        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