file2.getFragment().add(file2fragment);
datasourceType.getFile().add(file2);
FileType file3 = new FileType();
file3.setUri("file3uri" + id);
file3.setBoundingBox(asBoundingBoxType(new BoundingBox(new SimpleNavigationPosition(1.0, 2.0), new SimpleNavigationPosition(3.0, 4.0))));
file3.getChecksum().add(createChecksumType(3L, CALENDARF3, "file3"));
FragmentType fileType3fragment1 = new FragmentType();
fileType3fragment1.setKey("fragment1key");
fileType3fragment1.getChecksum().add(createChecksumType(31L, CALENDARF3F1, "file3 fragment1"));
file3.getFragment().add(fileType3fragment1);
FragmentType fileType3fragment2 = new FragmentType();
fileType3fragment2.setKey("fragment2key");
fileType3fragment2.getChecksum().add(createChecksumType(32L, CALENDARF3F2, "file3 fragment2"));
file3.getFragment().add(fileType3fragment2);
datasourceType.getFile().add(file3);
MapType map = new MapType();
map.setUri("mapuri" + id);
map.setBoundingBox(asBoundingBoxType(new BoundingBox(new SimpleNavigationPosition(1.0, 2.0), new SimpleNavigationPosition(3.0, 4.0))));
map.getChecksum().add(createChecksumType(100L, CALENDARM, "map"));
FragmentType mapfragment = new FragmentType();
mapfragment.setKey("fragmentkey" + id);
mapfragment.getChecksum().add(createChecksumType(101L, CALENDARMF, "map fragment"));
map.getFragment().add(mapfragment);