This commit is contained in:
Lucio Lelii 2008-12-04 01:36:12 +00:00
parent 4f0481c53e
commit c7ae673209
1 changed files with 3 additions and 1 deletions

View File

@ -244,10 +244,12 @@ public class IStoDBUtil {
//adding the native metadataformat
uuid=uuidMFGEN.nextUUID();
mf= new MetadataFormat(uuid, col.getMetaFormat().getName(), col.getMetaFormat().getSchemaURI(), col.getMetaFormat().getLanguage());
System.out.println(uuid+ " "+mf.getName() + " "+mf.getSchemaURI()+" "+mf.getLanguage()+" ");
if (!metadataFormatList.contains(mf)){
metadataFormatList.add(mf);
nativeMetadataFormatList.add(new MFRelationNative(col.getID(), mf.getId() ));
}else nativeMetadataFormatList.add(new MFRelationNative(col.getID(), metadataFormatList.get(metadataFormatList.indexOf(mf)).getId()));
}else nativeMetadataFormatList.add(new MFRelationNative(col.getID(), metadataFormatList.get(metadataFormatList.indexOf(mf)).getId()));
}