Description: Some packages and classes have changed in ciftools-java 3.0.0
Author: Pierre Gruet <pgt@debian.org>
Forwarded: https://github.com/biojava/biojava/issues/986
Last-Update: 2021-10-19

--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConsumer.java
+++ b/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConsumer.java
@@ -1,50 +1,49 @@
 package org.biojava.nbio.structure.io.cif;
 
-import org.rcsb.cif.model.generated.AtomSite;
-import org.rcsb.cif.model.generated.AtomSites;
-import org.rcsb.cif.model.generated.AuditAuthor;
-import org.rcsb.cif.model.generated.Cell;
-import org.rcsb.cif.model.generated.ChemComp;
-import org.rcsb.cif.model.generated.ChemCompBond;
-import org.rcsb.cif.model.generated.DatabasePDBRemark;
-import org.rcsb.cif.model.generated.DatabasePDBRev;
-import org.rcsb.cif.model.generated.DatabasePDBRevRecord;
-import org.rcsb.cif.model.generated.Entity;
-import org.rcsb.cif.model.generated.EntityPoly;
-import org.rcsb.cif.model.generated.EntityPolySeq;
-import org.rcsb.cif.model.generated.EntitySrcGen;
-import org.rcsb.cif.model.generated.EntitySrcNat;
-import org.rcsb.cif.model.generated.Exptl;
-import org.rcsb.cif.model.generated.PdbxAuditRevisionHistory;
-import org.rcsb.cif.model.generated.PdbxChemCompIdentifier;
-import org.rcsb.cif.model.generated.PdbxDatabaseStatus;
-import org.rcsb.cif.model.generated.PdbxEntityDescriptor;
-import org.rcsb.cif.model.generated.PdbxEntitySrcSyn;
-import org.rcsb.cif.model.generated.PdbxMolecule;
-import org.rcsb.cif.model.generated.PdbxMoleculeFeatures;
-import org.rcsb.cif.model.generated.PdbxNonpolyScheme;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityLink;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityList;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityPolyLink;
-import org.rcsb.cif.model.generated.PdbxStructAssembly;
-import org.rcsb.cif.model.generated.PdbxStructAssemblyGen;
-import org.rcsb.cif.model.generated.PdbxStructModResidue;
-import org.rcsb.cif.model.generated.PdbxStructOperList;
-import org.rcsb.cif.model.generated.Refine;
-import org.rcsb.cif.model.generated.Struct;
-import org.rcsb.cif.model.generated.StructAsym;
-import org.rcsb.cif.model.generated.StructConf;
-import org.rcsb.cif.model.generated.StructConn;
-import org.rcsb.cif.model.generated.StructConnType;
-import org.rcsb.cif.model.generated.StructKeywords;
-import org.rcsb.cif.model.generated.StructNcsOper;
-import org.rcsb.cif.model.generated.StructRef;
-import org.rcsb.cif.model.generated.StructRefSeq;
-import org.rcsb.cif.model.generated.StructRefSeqDif;
-import org.rcsb.cif.model.generated.StructSheetRange;
-import org.rcsb.cif.model.generated.StructSite;
-import org.rcsb.cif.model.generated.StructSiteGen;
-import org.rcsb.cif.model.generated.Symmetry;
+import org.rcsb.cif.schema.mm.AtomSite;
+import org.rcsb.cif.schema.mm.AtomSites;
+import org.rcsb.cif.schema.mm.AuditAuthor;
+import org.rcsb.cif.schema.mm.Cell;
+import org.rcsb.cif.schema.mm.ChemComp;
+import org.rcsb.cif.schema.mm.ChemCompBond;
+import org.rcsb.cif.schema.mm.DatabasePDBRemark;
+import org.rcsb.cif.schema.mm.DatabasePDBRev;
+import org.rcsb.cif.schema.mm.DatabasePDBRevRecord;
+import org.rcsb.cif.schema.mm.Entity;
+import org.rcsb.cif.schema.mm.EntityPoly;
+import org.rcsb.cif.schema.mm.EntityPolySeq;
+import org.rcsb.cif.schema.mm.EntitySrcGen;
+import org.rcsb.cif.schema.mm.EntitySrcNat;
+import org.rcsb.cif.schema.mm.Exptl;
+import org.rcsb.cif.schema.mm.PdbxAuditRevisionHistory;
+import org.rcsb.cif.schema.mm.PdbxChemCompIdentifier;
+import org.rcsb.cif.schema.mm.PdbxDatabaseStatus;
+import org.rcsb.cif.schema.mm.PdbxEntitySrcSyn;
+import org.rcsb.cif.schema.mm.PdbxMolecule;
+import org.rcsb.cif.schema.mm.PdbxMoleculeFeatures;
+import org.rcsb.cif.schema.mm.PdbxNonpolyScheme;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityLink;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityList;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityPolyLink;
+import org.rcsb.cif.schema.mm.PdbxStructAssembly;
+import org.rcsb.cif.schema.mm.PdbxStructAssemblyGen;
+import org.rcsb.cif.schema.mm.PdbxStructModResidue;
+import org.rcsb.cif.schema.mm.PdbxStructOperList;
+import org.rcsb.cif.schema.mm.Refine;
+import org.rcsb.cif.schema.mm.Struct;
+import org.rcsb.cif.schema.mm.StructAsym;
+import org.rcsb.cif.schema.mm.StructConf;
+import org.rcsb.cif.schema.mm.StructConn;
+import org.rcsb.cif.schema.mm.StructConnType;
+import org.rcsb.cif.schema.mm.StructKeywords;
+import org.rcsb.cif.schema.mm.StructNcsOper;
+import org.rcsb.cif.schema.mm.StructRef;
+import org.rcsb.cif.schema.mm.StructRefSeq;
+import org.rcsb.cif.schema.mm.StructRefSeqDif;
+import org.rcsb.cif.schema.mm.StructSheetRange;
+import org.rcsb.cif.schema.mm.StructSite;
+import org.rcsb.cif.schema.mm.StructSiteGen;
+import org.rcsb.cif.schema.mm.Symmetry;
 
 /**
  * Defines a rather generic interface which allows to populate some data structure with data parsed from a CIF file.
@@ -175,12 +174,6 @@
 
     /**
      * Consume a particular Cif category.
-     * @param pdbxEntityDescriptor data
-     */
-    void consumePdbxEntityDescriptor(PdbxEntityDescriptor pdbxEntityDescriptor);
-
-    /**
-     * Consume a particular Cif category.
      * @param pdbxMolecule data
      */
     void consumePdbxMolecule(PdbxMolecule pdbxMolecule);
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConsumerImpl.java
+++ b/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConsumerImpl.java
@@ -40,51 +40,50 @@
 import org.rcsb.cif.model.FloatColumn;
 import org.rcsb.cif.model.IntColumn;
 import org.rcsb.cif.model.StrColumn;
-import org.rcsb.cif.model.generated.AtomSite;
-import org.rcsb.cif.model.generated.AtomSites;
-import org.rcsb.cif.model.generated.AuditAuthor;
-import org.rcsb.cif.model.generated.Cell;
-import org.rcsb.cif.model.generated.ChemComp;
-import org.rcsb.cif.model.generated.ChemCompBond;
-import org.rcsb.cif.model.generated.DatabasePDBRemark;
-import org.rcsb.cif.model.generated.DatabasePDBRev;
-import org.rcsb.cif.model.generated.DatabasePDBRevRecord;
-import org.rcsb.cif.model.generated.Entity;
-import org.rcsb.cif.model.generated.EntityPoly;
-import org.rcsb.cif.model.generated.EntityPolySeq;
-import org.rcsb.cif.model.generated.EntitySrcGen;
-import org.rcsb.cif.model.generated.EntitySrcNat;
-import org.rcsb.cif.model.generated.Exptl;
-import org.rcsb.cif.model.generated.PdbxAuditRevisionHistory;
-import org.rcsb.cif.model.generated.PdbxChemCompIdentifier;
-import org.rcsb.cif.model.generated.PdbxDatabaseStatus;
-import org.rcsb.cif.model.generated.PdbxEntityDescriptor;
-import org.rcsb.cif.model.generated.PdbxEntitySrcSyn;
-import org.rcsb.cif.model.generated.PdbxMolecule;
-import org.rcsb.cif.model.generated.PdbxMoleculeFeatures;
-import org.rcsb.cif.model.generated.PdbxNonpolyScheme;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityLink;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityList;
-import org.rcsb.cif.model.generated.PdbxReferenceEntityPolyLink;
-import org.rcsb.cif.model.generated.PdbxStructAssembly;
-import org.rcsb.cif.model.generated.PdbxStructAssemblyGen;
-import org.rcsb.cif.model.generated.PdbxStructModResidue;
-import org.rcsb.cif.model.generated.PdbxStructOperList;
-import org.rcsb.cif.model.generated.Refine;
-import org.rcsb.cif.model.generated.Struct;
-import org.rcsb.cif.model.generated.StructAsym;
-import org.rcsb.cif.model.generated.StructConf;
-import org.rcsb.cif.model.generated.StructConn;
-import org.rcsb.cif.model.generated.StructConnType;
-import org.rcsb.cif.model.generated.StructKeywords;
-import org.rcsb.cif.model.generated.StructNcsOper;
-import org.rcsb.cif.model.generated.StructRef;
-import org.rcsb.cif.model.generated.StructRefSeq;
-import org.rcsb.cif.model.generated.StructRefSeqDif;
-import org.rcsb.cif.model.generated.StructSheetRange;
-import org.rcsb.cif.model.generated.StructSite;
-import org.rcsb.cif.model.generated.StructSiteGen;
-import org.rcsb.cif.model.generated.Symmetry;
+import org.rcsb.cif.schema.mm.AtomSite;
+import org.rcsb.cif.schema.mm.AtomSites;
+import org.rcsb.cif.schema.mm.AuditAuthor;
+import org.rcsb.cif.schema.mm.Cell;
+import org.rcsb.cif.schema.mm.ChemComp;
+import org.rcsb.cif.schema.mm.ChemCompBond;
+import org.rcsb.cif.schema.mm.DatabasePDBRemark;
+import org.rcsb.cif.schema.mm.DatabasePDBRev;
+import org.rcsb.cif.schema.mm.DatabasePDBRevRecord;
+import org.rcsb.cif.schema.mm.Entity;
+import org.rcsb.cif.schema.mm.EntityPoly;
+import org.rcsb.cif.schema.mm.EntityPolySeq;
+import org.rcsb.cif.schema.mm.EntitySrcGen;
+import org.rcsb.cif.schema.mm.EntitySrcNat;
+import org.rcsb.cif.schema.mm.Exptl;
+import org.rcsb.cif.schema.mm.PdbxAuditRevisionHistory;
+import org.rcsb.cif.schema.mm.PdbxChemCompIdentifier;
+import org.rcsb.cif.schema.mm.PdbxDatabaseStatus;
+import org.rcsb.cif.schema.mm.PdbxEntitySrcSyn;
+import org.rcsb.cif.schema.mm.PdbxMolecule;
+import org.rcsb.cif.schema.mm.PdbxMoleculeFeatures;
+import org.rcsb.cif.schema.mm.PdbxNonpolyScheme;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityLink;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityList;
+import org.rcsb.cif.schema.mm.PdbxReferenceEntityPolyLink;
+import org.rcsb.cif.schema.mm.PdbxStructAssembly;
+import org.rcsb.cif.schema.mm.PdbxStructAssemblyGen;
+import org.rcsb.cif.schema.mm.PdbxStructModResidue;
+import org.rcsb.cif.schema.mm.PdbxStructOperList;
+import org.rcsb.cif.schema.mm.Refine;
+import org.rcsb.cif.schema.mm.Struct;
+import org.rcsb.cif.schema.mm.StructAsym;
+import org.rcsb.cif.schema.mm.StructConf;
+import org.rcsb.cif.schema.mm.StructConn;
+import org.rcsb.cif.schema.mm.StructConnType;
+import org.rcsb.cif.schema.mm.StructKeywords;
+import org.rcsb.cif.schema.mm.StructNcsOper;
+import org.rcsb.cif.schema.mm.StructRef;
+import org.rcsb.cif.schema.mm.StructRefSeq;
+import org.rcsb.cif.schema.mm.StructRefSeqDif;
+import org.rcsb.cif.schema.mm.StructSheetRange;
+import org.rcsb.cif.schema.mm.StructSite;
+import org.rcsb.cif.schema.mm.StructSiteGen;
+import org.rcsb.cif.schema.mm.Symmetry;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -770,11 +769,6 @@
     }
 
     @Override
-    public void consumePdbxEntityDescriptor(PdbxEntityDescriptor pdbxEntityDescriptor) {
-        // TODO not considered in ref
-    }
-
-    @Override
     public void consumePdbxMolecule(PdbxMolecule pdbxMolecule) {
         // TODO not considered in ref
     }
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConverter.java
+++ b/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileConverter.java
@@ -3,8 +3,9 @@
 import org.biojava.nbio.structure.Structure;
 import org.biojava.nbio.structure.io.FileParsingParameters;
 import org.rcsb.cif.CifIO;
-import org.rcsb.cif.model.Block;
+import org.rcsb.cif.schema.mm.MmCifBlock;
 import org.rcsb.cif.model.CifFile;
+import org.rcsb.cif.schema.mm.MmCifFile;
 
 import java.io.IOException;
 import java.io.InputStream;
@@ -104,7 +105,7 @@
         consumer.prepare();
 
         // feed individual categories to consumer
-        Block cifBlock = cifFile.getFirstBlock();
+        MmCifBlock cifBlock = new MmCifFile(cifFile).getFirstBlock();
 
         consumer.consumeAuditAuthor(cifBlock.getAuditAuthor());
         consumer.consumeAtomSite(cifBlock.getAtomSite());
@@ -125,7 +126,6 @@
         consumer.consumePdbxAuditRevisionHistory(cifBlock.getPdbxAuditRevisionHistory());
         consumer.consumePdbxChemCompIdentifier(cifBlock.getPdbxChemCompIdentifier());
         consumer.consumePdbxDatabaseStatus(cifBlock.getPdbxDatabaseStatus());
-        consumer.consumePdbxEntityDescriptor(cifBlock.getPdbxEntityDescriptor());
         consumer.consumePdbxMolecule(cifBlock.getPdbxMolecule());
         consumer.consumePdbxMoleculeFeatures(cifBlock.getPdbxMoleculeFeatures());
         consumer.consumePdbxNonpolyScheme(cifBlock.getPdbxNonpolyScheme());
--- a/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileSupplierImpl.java
+++ b/biojava-structure/src/main/java/org/biojava/nbio/structure/io/cif/CifFileSupplierImpl.java
@@ -11,12 +11,12 @@
 import org.biojava.nbio.structure.xtal.SpaceGroup;
 import org.rcsb.cif.model.Category;
 import org.rcsb.cif.model.CifFile;
-import org.rcsb.cif.model.builder.BlockBuilder;
-import org.rcsb.cif.model.builder.CategoryBuilder;
-import org.rcsb.cif.model.builder.CifBuilder;
-import org.rcsb.cif.model.builder.FloatColumnBuilder;
-import org.rcsb.cif.model.builder.IntColumnBuilder;
-import org.rcsb.cif.model.builder.StrColumnBuilder;
+import org.rcsb.cif.schema.mm.MmCifBlockBuilder;
+import org.rcsb.cif.schema.mm.MmCifCategoryBuilder;
+import org.rcsb.cif.schema.mm.MmCifFileBuilder;
+import org.rcsb.cif.model.FloatColumnBuilder;
+import org.rcsb.cif.model.IntColumnBuilder;
+import org.rcsb.cif.model.StrColumnBuilder;
 
 import java.util.ArrayList;
 import java.util.LinkedHashMap;
@@ -43,7 +43,7 @@
         List<WrappedAtom> wrappedAtoms = collectWrappedAtoms(structure);
         Category atomSite = wrappedAtoms.stream().collect(toAtomSite());
 
-        BlockBuilder blockBuilder = new CifBuilder()
+        MmCifBlockBuilder blockBuilder = new MmCifFileBuilder()
                 .enterBlock(structure.getPDBCode());
 
         if (atomSite.isDefined() && atomSite.getRowCount() > 0) {
@@ -187,30 +187,30 @@
     }
 
     static class AtomSiteCollector implements Consumer<WrappedAtom> {
-        private final CategoryBuilder.AtomSiteBuilder atomSiteBuilder;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> groupPDB;
-        private final IntColumnBuilder<CategoryBuilder.AtomSiteBuilder> id;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> typeSymbol;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelAtomId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelAltId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelCompId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelAsymId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelEntityId;
-        private final IntColumnBuilder<CategoryBuilder.AtomSiteBuilder> labelSeqId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> pdbxPDBInsCode;
-        private final FloatColumnBuilder<CategoryBuilder.AtomSiteBuilder> cartnX;
-        private final FloatColumnBuilder<CategoryBuilder.AtomSiteBuilder> cartnY;
-        private final FloatColumnBuilder<CategoryBuilder.AtomSiteBuilder> cartnZ;
-        private final FloatColumnBuilder<CategoryBuilder.AtomSiteBuilder> occupancy;
-        private final FloatColumnBuilder<CategoryBuilder.AtomSiteBuilder> bIsoOrEquiv;
-        private final IntColumnBuilder<CategoryBuilder.AtomSiteBuilder> authSeqId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> authCompId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> authAsymId;
-        private final StrColumnBuilder<CategoryBuilder.AtomSiteBuilder> authAtomId;
-        private final IntColumnBuilder<CategoryBuilder.AtomSiteBuilder> pdbxPDBModelNum;
+        private final MmCifCategoryBuilder.AtomSiteBuilder atomSiteBuilder;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> groupPDB;
+        private final IntColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> id;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> typeSymbol;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelAtomId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelAltId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelCompId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelAsymId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelEntityId;
+        private final IntColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> labelSeqId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> pdbxPDBInsCode;
+        private final FloatColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> cartnX;
+        private final FloatColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> cartnY;
+        private final FloatColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> cartnZ;
+        private final FloatColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> occupancy;
+        private final FloatColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> bIsoOrEquiv;
+        private final IntColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> authSeqId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> authCompId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> authAsymId;
+        private final StrColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> authAtomId;
+        private final IntColumnBuilder<MmCifCategoryBuilder.AtomSiteBuilder, MmCifBlockBuilder, MmCifFileBuilder> pdbxPDBModelNum;
 
         AtomSiteCollector() {
-            this.atomSiteBuilder = new CategoryBuilder.AtomSiteBuilder(null);
+            this.atomSiteBuilder = new MmCifCategoryBuilder.AtomSiteBuilder(null);
             this.groupPDB = atomSiteBuilder.enterGroupPDB();
             this.id = atomSiteBuilder.enterId();
             this.typeSymbol = atomSiteBuilder.enterTypeSymbol();
--- a/biojava-structure/src/test/java/org/biojava/nbio/structure/io/cif/CifFileConsumerImplTest.java
+++ b/biojava-structure/src/test/java/org/biojava/nbio/structure/io/cif/CifFileConsumerImplTest.java
@@ -10,6 +10,7 @@
 import org.junit.Test;
 import org.rcsb.cif.CifIO;
 import org.rcsb.cif.model.CifFile;
+import org.rcsb.cif.schema.mm.MmCifFile;
 import org.rcsb.cif.model.Column;
 import org.rcsb.cif.model.ValueKind;
 
@@ -211,12 +212,12 @@
                 "8 1S32 . H . GB  30268542 MET 1 'INTIATING METHIONINE' ? ? 8\n" +
                 "#" ;
         CifFile cifFile = CifIO.readFromInputStream(new ByteArrayInputStream(mmcifStr.getBytes()));
-        Column column = cifFile.getFirstBlock().getCategory("struct_ref_seq_dif").getColumn("seq_num");
+        Column column = new MmCifFile(cifFile).getFirstBlock().getCategory("struct_ref_seq_dif").getColumn("seq_num");
 
         assertNotNull(column);
         assertTrue(column.isDefined());
         assertEquals(8, column.getRowCount());
         column.valueKinds().forEach(vk -> assertEquals(ValueKind.NOT_PRESENT, vk));
-        column.stringData().forEach(sd -> assertTrue(sd.isEmpty()));
+        column.stringData().forEach(sd -> assertTrue(((String) sd).isEmpty()));
     }
-}
\ No newline at end of file
+}
