Interface CollectionReferenceMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,UNMARSHAL_RECORD extends UnmarshalRecord,XML_FIELD extends Field,XML_RECORD extends XMLRecord>
-
- All Superinterfaces:
Mapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,XML_RECORD>,ObjectReferenceMapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,UNMARSHAL_RECORD,XML_FIELD,XML_RECORD>,XMLContainerMapping
- All Known Implementing Classes:
XMLCollectionReferenceMapping
public interface CollectionReferenceMapping<ABSTRACT_SESSION extends CoreAbstractSession,ATTRIBUTE_ACCESSOR extends CoreAttributeAccessor,CONTAINER_POLICY extends CoreContainerPolicy,DESCRIPTOR extends CoreDescriptor,FIELD extends CoreField,UNMARSHAL_RECORD extends UnmarshalRecord,XML_FIELD extends Field,XML_RECORD extends XMLRecord> extends ObjectReferenceMapping<ABSTRACT_SESSION,ATTRIBUTE_ACCESSOR,CONTAINER_POLICY,DESCRIPTOR,FIELD,UNMARSHAL_RECORD,XML_FIELD,XML_RECORD>, XMLContainerMapping
-
-
Field Summary
-
Fields inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
EMPTY_CONTAINER_DEFAULT
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbuildReference(UNMARSHAL_RECORD unmarshalRecord, XML_FIELD xmlField, java.lang.Object value, ABSTRACT_SESSION session, java.lang.Object container)voidsetUsesSingleNode(boolean useSingleNode)voiduseCollectionClassName(java.lang.String concreteContainerClassName)booleanusesSingleNode()For the purpose of XMLCollectionReferenceMappings, 'usesSingleNode' refers to the fact that the source key xpath fields should all be written as space-separated lists.-
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.ObjectReferenceMapping
addSourceToTargetKeyFieldAssociation, buildFieldValue, buildReference, getFields, getInverseReferenceMapping, getReferenceClass, getReferenceClassName, getSourceToTargetKeyFieldAssociations, isWriteOnly, setIsWriteOnly, setReferenceClassName
-
Methods inherited from interface org.eclipse.persistence.internal.oxm.mappings.XMLContainerMapping
getReuseContainer, getWrapperNullPolicy, isDefaultEmptyContainer, setDefaultEmptyContainer, setReuseContainer, setWrapperNullPolicy
-
-
-
-
Method Detail
-
buildReference
void buildReference(UNMARSHAL_RECORD unmarshalRecord, XML_FIELD xmlField, java.lang.Object value, ABSTRACT_SESSION session, java.lang.Object container)
-
setUsesSingleNode
void setUsesSingleNode(boolean useSingleNode)
-
useCollectionClassName
void useCollectionClassName(java.lang.String concreteContainerClassName)
-
usesSingleNode
boolean usesSingleNode()
For the purpose of XMLCollectionReferenceMappings, 'usesSingleNode' refers to the fact that the source key xpath fields should all be written as space-separated lists. Would be used for mapping to an IDREFS field in a schema
-
-