Interface CompositeCollectionMapping<ABSTRACT_SESSION extends CoreAbstractSession,​ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,​CONTAINER_POLICY extends CoreContainerPolicy,​CONVERTER extends CoreConverter,​DESCRIPTOR extends CoreDescriptor,​FIELD extends CoreField,​MARSHALLER extends Marshaller,​SESSION extends CoreSession,​UNMARSHAL_KEEP_AS_ELEMENT_POLICY extends UnmarshalKeepAsElementPolicy,​UNMARSHALLER extends Unmarshaller,​XML_RECORD extends XMLRecord>

    • Method Detail

      • useCollectionClass

        void useCollectionClass​(Class concreteContainerClass)
        Configure the mapping to use an instance of the specified container class to hold the target objects.

        jdk1.2.x: The container class must implement (directly or indirectly) the Collection interface.

        jdk1.1.x: The container class must be a subclass of Vector.

      • useCollectionClassName

        void useCollectionClassName​(String concreteContainerClassName)