use of org.bimserver.database.migrations.change.AddIndexChange in project BIMserver by opensourceBIM.
the class Schema method addIndex.
public void addIndex(EStructuralFeature eStructuralFeature) {
changes.add(new AddIndexChange(this, eStructuralFeature));
EAnnotation index = EcoreFactory.eINSTANCE.createEAnnotation();
index.setSource("singleindex");
eStructuralFeature.getEAnnotations().add(index);
}
Aggregations