/** * Copyright 2004-2016 Riccardo Solmi. All rights reserved. * This file is part of the Whole Platform. * * The Whole Platform is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The Whole Platform is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with the Whole Platform. If not, see <http://www.gnu.org/licenses/>. */ package org.whole.lang.models.codebase; import org.whole.lang.builders.IBuilderOperation; import org.whole.lang.templates.AbstractTemplateFactory; public class ModelsInfoModel extends AbstractTemplateFactory<org.whole.lang.models.model.Model> { public void apply(IBuilderOperation op) { org.whole.lang.models.builders.IModelsBuilder b0 = (org.whole.lang.models.builders.IModelsBuilder) op.wGetBuilder(org.whole.lang.models.reflect.ModelsLanguageKit.URI); b0.Model_(); b0.SimpleName("Info"); b0.TypeRelations(); b0.ModelDeclarations_(7); b0.SimpleEntity_(); b0.EntityModifiers(); b0.SimpleName("ModelInfo"); b0.Types(); b0.Features_(7); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("Values"); b0.SimpleName("declarations"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("Values"); b0.SimpleName("entities"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("Values"); b0.SimpleName("types"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("ValuesMap"); b0.SimpleName("featuresMap"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("OccurrencesMap"); b0.SimpleName("entityOccurrencesMap"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("OccurrencesMap"); b0.SimpleName("featureOccurrencesMap"); b0._Feature(); b0.Feature_(); b0.FeatureModifiers(); b0.SimpleName("OccurrencesMap"); b0.SimpleName("typeOccurrencesMap"); b0._Feature(); b0._Features(); b0._SimpleEntity(); b0.MapEntity_(); b0.EntityModifiers(); b0.SimpleName("OccurrencesMap"); b0.Types(); b0.SimpleName("Value"); b0.SimpleName("Occurrences"); b0._MapEntity(); b0.CompositeEntity_(); b0.EntityModifiers(); b0.SimpleName("Occurrences"); b0.Types(); b0.ComponentModifiers(); b0.SimpleName("Occurrence"); b0._CompositeEntity(); b0.DataEntity_(); b0.EntityModifiers(); b0.SimpleName("Occurrence"); b0.Types(); b0.DataType("org.whole.lang.model.IEntity"); b0._DataEntity(); b0.MapEntity_(); b0.EntityModifiers(); b0.SimpleName("ValuesMap"); b0.Types(); b0.SimpleName("Value"); b0.SimpleName("Values"); b0._MapEntity(); b0.CompositeEntity_(); b0.EntityModifiers(); b0.SimpleName("Values"); b0.Types(); b0.ComponentModifiers_(1); b0.ComponentModifier("unique"); b0._ComponentModifiers(); b0.SimpleName("Value"); b0._CompositeEntity(); b0.DataEntity_(); b0.EntityModifiers(); b0.SimpleName("Value"); b0.Types(); b0.DataType("String"); b0._DataEntity(); b0._ModelDeclarations(); b0.Namespace("org.whole.lang.info"); org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI); b1.Resolver(); b0.URI("http://lang.whole.org/Info"); b0._Model(); } }