// Set up our delegate
this.delegate = new java.util.LinkedList();
if (ownerSM != null)
{
AbstractMemberMetaData fmd = ownerSM.getClassMetaData().getMetaDataForMember(fieldName);
this.owner = ownerSM.getObject();
this.fieldNumber = fmd.getAbsoluteFieldNumber();
allowNulls = SCOUtils.allowNullsInContainer(allowNulls, fmd);
if (ownerSM.getStoreManager().getSupportedOptions().contains("ContainerQueueing"))
{
queued = SCOUtils.useContainerQueueing(ownerSM);
useCache = SCOUtils.useContainerCache(ownerSM, fieldName);
}
if (!SCOUtils.collectionHasSerialisedElements(fmd) &&
fmd.getPersistenceModifier() == FieldPersistenceModifier.PERSISTENT)
{
try
{
ClassLoaderResolver clr = ownerSM.getObjectManager().getClassLoaderResolver();
this.backingStore = (ListStore)ownerSM.getStoreManager().getBackingStoreForField(clr,fmd,java.util.LinkedList.class);