public ModelBuilderImpl(String modelName) {
model = new ModelImpl(modelName);
}
public ModelElementTypeBuilder defineType(Class<? extends ModelElementInstance> modelInstanceType, String typeName) {
ModelElementTypeBuilderImpl typeBuilder = new ModelElementTypeBuilderImpl(modelInstanceType, typeName, model);
typeBuilders.add(typeBuilder);
return typeBuilder;
}