Module org.eclipse.persistence.core
Interface AnyCollectionMapping<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>
- All Superinterfaces:
Mapping<ABSTRACT_SESSION,
,ATTRIBUTE_ACCESSOR, CONTAINER_POLICY, DESCRIPTOR, FIELD, XML_RECORD> XMLContainerMapping
,XMLConverterMapping<MARSHALLER,
SESSION, UNMARSHALLER>
- All Known Implementing Classes:
XMLAnyCollectionMapping
public interface AnyCollectionMapping<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>
extends Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>, XMLContainerMapping, XMLConverterMapping<MARSHALLER,SESSION,UNMARSHALLER>
-
Field Summary
Fields inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
EMPTY_CONTAINER_DEFAULT
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
setConverter
(CONVERTER conv) void
void
setIsWriteOnly
(boolean b) void
setKeepAsElementPolicy
(UNMARSHAL_KEEP_AS_ELEMENT_POLICY unmarshalKeepAsElementPolicy) void
setMixedContent
(boolean mixed) void
setPreserveWhitespaceForMixedContent
(boolean preserveWhitespace) void
setUseXMLRoot
(boolean useXMLRoot) void
useCollectionClass
(Class<?> concreteContainerClass) Configure the mapping to use an instance of the specified container class to hold the target objects.boolean
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.Mapping
convertClassNamesToClasses, getAttributeAccessor, getAttributeClassification, getAttributeName, getAttributeValueFromObject, getContainerPolicy, getDescriptor, getField, getReferenceDescriptor, isAbstractCompositeCollectionMapping, isAbstractCompositeDirectCollectionMapping, isAbstractCompositeObjectMapping, isAbstractDirectMapping, isCollectionMapping, isReadOnly, isReferenceMapping, isTransformationMapping, setAttributeAccessor, setAttributeName, setAttributeValueInObject, setGetMethodName, setIsReadOnly, setProperties, setSetMethodName, writeSingleValue
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
getReuseContainer, getWrapperNullPolicy, isDefaultEmptyContainer, setDefaultEmptyContainer, setReuseContainer, setWrapperNullPolicy
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLConverterMapping
convertDataValueToObjectValue, convertObjectValueToDataValue
-
Method Details
-
getKeepAsElementPolicy
UNMARSHAL_KEEP_AS_ELEMENT_POLICY getKeepAsElementPolicy() -
isMixedContent
boolean isMixedContent() -
isWhitespacePreservedForMixedContent
boolean isWhitespacePreservedForMixedContent() -
setConverter
-
setKeepAsElementPolicy
-
setField
-
setIsWriteOnly
void setIsWriteOnly(boolean b) -
setMixedContent
void setMixedContent(boolean mixed) -
setPreserveWhitespaceForMixedContent
void setPreserveWhitespaceForMixedContent(boolean preserveWhitespace) -
setUseXMLRoot
void setUseXMLRoot(boolean useXMLRoot) -
useCollectionClass
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.
-
usesXMLRoot
boolean usesXMLRoot()
-