throw new IllegalStateException("Collection already set: "
+ collection.getCollectionName());
}
this.collection = col;
this.colFilter = filter;
Symbols symbol = col.getSymbols();
if(symbol == null) {
throw new IllegalStateException("Symbol is not set for the collection: "
+ collection.getCollectionName());
}
QNameTable qnames = symbol.getQnameTable();
if(qnames == null) {
throw new IllegalStateException("QNameTable is not set for the collection: "
+ collection.getCollectionName());
}
this.qnameTable = qnames;