git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/vre-management/VREModeler@7463 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4f0481c53e
commit
c7ae673209
|
@ -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()));
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue