public interface XMLContainerMapping
Modifier and Type | Field and Description |
---|---|
static boolean |
EMPTY_CONTAINER_DEFAULT
This is the default setting for the defaultEmptyContainer property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getReuseContainer()
Return true if a pre-initialized container already set on the
field/property should be used.
|
AbstractNullPolicy |
getWrapperNullPolicy()
Get the Wrapper NullPolicy from the Mapping.
|
boolean |
isDefaultEmptyContainer()
Return true if an empty container should be set on the object if there
is no presence of the collection in the XML document.
|
void |
setDefaultEmptyContainer(boolean defaultEmptyContainer)
Indicate whether by default an empty container should be set on the
field/property if the collection is not present in the XML document.
|
void |
setReuseContainer(boolean reuseContainer)
Specify if a pre-existing container on the field/property should be used.
|
void |
setWrapperNullPolicy(AbstractNullPolicy policy)
Set the Wrapper NullPolicy on the Mapping.
|
static final boolean EMPTY_CONTAINER_DEFAULT
boolean getReuseContainer()
AbstractNullPolicy getWrapperNullPolicy()
boolean isDefaultEmptyContainer()
void setDefaultEmptyContainer(boolean defaultEmptyContainer)
void setReuseContainer(boolean reuseContainer)
void setWrapperNullPolicy(AbstractNullPolicy policy)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference