comp.addKey(newTypeOrder(), FSIndexComparator.STANDARD_COMPARE);
return comp;
}
private LinearTypeOrder newTypeOrder() {
LinearTypeOrderBuilder ltob = new LinearTypeOrderBuilderImpl(ts);
LinearTypeOrder order;
try {
ltob.add(new String[] { "Type1", "Type1Sub1", "Type1Sub2" });
order = ltob.getOrder();
} catch (CASException e) {
throw new Error(e);
}
return order;
}