EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.oxm.mappings
Interface XMLNillableMapping

All Known Implementing Classes:
XMLBinaryDataCollectionMapping, XMLBinaryDataMapping, XMLCompositeCollectionMapping, XMLCompositeDirectCollectionMapping, XMLCompositeObjectMapping, XMLDirectMapping, XMLFragmentMapping

public interface XMLNillableMapping

INTERNAL All nillable mappings which can be added to org.eclipse.persistence.oxm.XMLDescriptor must implement this interface.
The default policy is AbstractNullPolicy.

See Also:
org.eclipse.persistence.oxm.mappings

Method Summary
 AbstractNullPolicy getNullPolicy()
          Get the AbstractNullPolicy from the Mapping.
 void setNullPolicy(AbstractNullPolicy aNullPolicy)
          Set the AbstractNullPolicy on the mapping
The default policy is NullPolicy.
 

Method Detail

setNullPolicy

void setNullPolicy(AbstractNullPolicy aNullPolicy)
Set the AbstractNullPolicy on the mapping
The default policy is NullPolicy.

Parameters:
aNullPolicy -

getNullPolicy

AbstractNullPolicy getNullPolicy()
Get the AbstractNullPolicy from the Mapping.
The default policy is NullPolicy.

Returns:

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference