use of org.bimserver.database.migrations.change.NewEnumChange in project BIMserver by opensourceBIM.
the class Schema method createEEnum.
public EEnum createEEnum(EPackage ePackage, String name) {
EEnum eEnum = EcoreFactory.eINSTANCE.createEEnum();
changes.add(new NewEnumChange(eEnum));
ePackage.getEClassifiers().add(eEnum);
eEnum.setName(name);
return eEnum;
}
Aggregations