this.storeMgr = storeMgr;
this.ownerMemberMetaData = ownerMmd;
this.clr = clr;
this.relationType = ownerMemberMetaData.getRelationType(clr);
CollectionMetaData colmd = ownerMemberMetaData.getCollection();
if (colmd == null) {
throw new NucleusUserException(LOCALISER.msg("056001", ownerMemberMetaData.getFullFieldName()));
}
// Load the element class
elementType = colmd.getElementType();
Class element_class = clr.classForName(elementType);
if (ClassUtils.isReferenceType(element_class)) {
if (storeMgr.getNucleusContext().getMetaDataManager().isPersistentInterface(elementType)) {
elementCmd = storeMgr.getNucleusContext().getMetaDataManager().getMetaDataForInterface(element_class,clr);