use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.
the class ORMModel method apply.
public void apply(IBuilderOperation op) {
IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
b0.Model_();
b0.SimpleName("ORM");
b0.TypeRelations();
b0.ModelDeclarations_(13);
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("ORM");
b0.Types();
b0.Features_(10);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Name");
b0.SimpleName("modelName");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("id");
b0._FeatureModifiers();
b0.SimpleName("Name");
b0.SimpleName("modelPackage");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Entities");
b0.SimpleName("entities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("simpleEntities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("compositeEntities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("mapEntities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("dataEntities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("enumEntities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Types");
b0.SimpleName("types");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("TypeNameTypeMap");
b0.SimpleName("typeNameTypeMap");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Name");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Entities");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("ModelEntity");
b0._CompositeEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("EntitiesRef");
b0.Types();
b0.ComponentModifiers_(2);
b0.ComponentModifier("reference");
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("ModelEntity");
b0._CompositeEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("ModelEntity");
b0.Types();
b0.DataType("org.whole.lang.models.model.ModelDeclaration");
b0._DataEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("OccurrenciesRef");
b0.Types();
b0.ComponentModifiers_(2);
b0.ComponentModifier("reference");
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("Occurrency");
b0._CompositeEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Occurrency");
b0.Types();
b0.DataType("org.whole.lang.models.model.IModelsEntity");
b0._DataEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Types");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("ModelType");
b0._CompositeEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("TypesRef");
b0.Types();
b0.ComponentModifiers_(2);
b0.ComponentModifier("reference");
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("ModelType");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("ModelType");
b0.Types();
b0.Features_(7);
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("id");
b0._FeatureModifiers();
b0.SimpleName("TypeName");
b0.SimpleName("name");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Name");
b0.SimpleName("interfaceName");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MappingStrategy");
b0.SimpleName("mappingStrategy");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("TypesRef");
b0.SimpleName("supertypes");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("TypesRef");
b0.SimpleName("subtypes");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("EntitiesRef");
b0.SimpleName("entities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("OccurrenciesRef");
b0.SimpleName("occurrencies");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("TypeName");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.EnumEntity_();
b0.EntityModifiers();
b0.SimpleName("MappingStrategy");
b0.Types();
b0.EnumValues_(4);
b0.EnumValue("tablePerType");
b0.EnumValue("tablePerEntity");
b0.EnumValue("embedded");
b0.EnumValue("implicit");
b0._EnumValues();
b0._EnumEntity();
b0.MapEntity_();
b0.EntityModifiers();
b0.SimpleName("TypeNameTypeMap");
b0.Types();
b0.SimpleName("TypeName");
b0.SimpleName("ModelType");
b0._MapEntity();
b0._ModelDeclarations();
b0.Namespace("org.whole.lang.orm");
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/ORM");
b0._Model();
}
use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.
the class ProcessGraphModel method apply.
public void apply(IBuilderOperation op) {
IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
b0.Model_();
b0.SimpleName("ProcessGraph");
b0.TypeRelations();
b0.ModelDeclarations_(9);
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("ProcessGraph");
b0.Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Nodes");
b0.SimpleName("nodes");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Transitions");
b0.SimpleName("transitions");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Nodes");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("Node");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Node");
b0.Types();
b0.Features_(6);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Pixels");
b0.SimpleName("x");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Pixels");
b0.SimpleName("y");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Pixels");
b0.SimpleName("width");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Pixels");
b0.SimpleName("height");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("reference");
b0._FeatureModifiers();
b0.SimpleName("Transitions");
b0.SimpleName("arrivingTransitions");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("reference");
b0._FeatureModifiers();
b0.SimpleName("Transitions");
b0.SimpleName("leavingTransitions");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Transitions");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("Transition");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Transition");
b0.Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("reference");
b0._FeatureModifiers();
b0.SimpleName("Node");
b0.SimpleName("fromNode");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("reference");
b0._FeatureModifiers();
b0.SimpleName("Node");
b0.SimpleName("toNode");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("ProcessExecution");
b0.Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Token");
b0.SimpleName("root");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Token");
b0.Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("reference");
b0._FeatureModifiers();
b0.SimpleName("Node");
b0.SimpleName("node");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Tokens");
b0.SimpleName("leavingTokens");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Tokens");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("Token");
b0._CompositeEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Pixels");
b0.Types();
b0.DataType("int");
b0._DataEntity();
b0._ModelDeclarations();
b0.Namespace("org.whole.lang.processgraph");
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/ProcessGraph");
b0._Model();
}
use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.
the class TestEvents method apply.
public void apply(IBuilderOperation op) {
IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
b0.Model_();
b0.SimpleName("TestEvents");
b0.TypeRelations();
b0.ModelDeclarations_(6);
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("TestEvents");
b0.Types();
b0.Features_(4);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("maxBase");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("maxHeight");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("numShapes");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Shape");
b0.SimpleName("shape");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("CompositeShape");
b0.Types_(1);
b0.SimpleName("Shape");
b0._Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("Shape");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Rectangle");
b0.Types_(1);
b0.SimpleName("Shape");
b0._Types();
b0.Features_(4);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("height");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("area");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Val");
b0.SimpleName("perimeter");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Labels");
b0.Types_(1);
b0.SimpleName("Shape");
b0._Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Label");
b0.SimpleName("simple");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Label");
b0.SimpleName("simpleDerived");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Label");
b0.SimpleName("simpleDerivedDerived");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Val");
b0.Types();
b0.DataType("int");
b0._DataEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Label");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0._ModelDeclarations();
b0.Namespace("org.whole.lang.testevents");
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/TestEvents");
b0._Model();
}
use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.
the class WorkflowModelOld method apply.
public void apply(IBuilderOperation op) {
IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
b0.Model_();
b0.SimpleName("Workflow");
b0.TypeRelations_(0);
b0._TypeRelations();
b0.ModelDeclarations_(27);
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Workflow");
b0.Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Name");
b0.SimpleName("name");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Description");
b0.SimpleName("description");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Sequence");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activities");
b0.SimpleName("activities");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Parallel");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activities");
b0.SimpleName("activities");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Activities");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("ordered");
b0._ComponentModifiers();
b0.SimpleName("Activity");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Repeat");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Times");
b0.SimpleName("times");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Times");
b0.Types();
b0.DataType("int");
b0._DataEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("WhileControl");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Condition");
b0.SimpleName("condition");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("DoWhileControl");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Condition");
b0.SimpleName("condition");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("SwitchControl");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("GuardedActivities");
b0.SimpleName("guardedActivities");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("otherwiseActivity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("GuardedActivities");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("ordered");
b0._ComponentModifiers();
b0.SimpleName("GuardedActivity");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("GuardedActivity");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Condition");
b0.SimpleName("condition");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("IfElseControl");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Condition");
b0.SimpleName("condition");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("trueActivity");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("falseActivity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Delay");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("DelayKind");
b0.SimpleName("delayKind");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("DelayValue");
b0.SimpleName("delayValue");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.EnumEntity_();
b0.EntityModifiers();
b0.SimpleName("DelayKind");
b0.Types();
b0.EnumValues_(2);
b0.EnumValue("interval");
b0.EnumValue("alarm");
b0._EnumValues();
b0._EnumEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("DelayValue");
b0.Types();
b0.DataType("java.util.Date");
b0._DataEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Call");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Name");
b0.SimpleName("workflowName");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Code");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Description");
b0.SimpleName("description");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Statements");
b0.SimpleName("statements");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Statements");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Task");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Description");
b0.SimpleName("description");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("TransactionalContext");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(4);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("timeoutActivity");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("ExceptionHandlers");
b0.SimpleName("exceptionHandlers");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("compensateActivity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("ThrowException");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(1);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("ExceptionType");
b0.SimpleName("exceptionType");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("ExceptionHandlers");
b0.Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("CatchException");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("CatchException");
b0.Types_(1);
b0.SimpleName("Activity");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers_(1);
b0.FeatureModifier("id");
b0._FeatureModifiers();
b0.SimpleName("ExceptionType");
b0.SimpleName("exceptionType");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Activity");
b0.SimpleName("activity");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("ExceptionType");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Name");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Description");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Condition");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0._ModelDeclarations();
b0.Namespace("org.whole.lang.workflow");
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/Workflow");
b0._Model();
}
use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.
the class MathPresentationModel method apply.
public void apply(IBuilderOperation op) {
IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
b0.Model_();
b0.SimpleName("MathPresentation");
b0.TypeRelations();
b0.ModelDeclarations_(17);
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Row");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("MathExpression");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Under");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("under");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Over");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("over");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("UnderOver");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("under");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("over");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("AdditionExpression");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp1");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp2");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Sup");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("sup");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("SubSup");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("sub");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("sup");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("MultiplicationExpression");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp1");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp2");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("DivisionExpression");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp1");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp2");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.CompositeEntity_();
b0.EntityModifiers();
b0.SimpleName("Column");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.ComponentModifiers_(1);
b0.ComponentModifier("unique");
b0._ComponentModifiers();
b0.SimpleName("MathExpression");
b0._CompositeEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("SubtractionExpression");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp1");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp2");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Sub");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("base");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("sub");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("IntegerLiteral");
b0.Types_(1);
b0.SimpleName("MathLiteral");
b0._Types();
b0.DataType("int");
b0._DataEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("Variable");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(2);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("Variable_Id");
b0.SimpleName("id");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathLiteral");
b0.SimpleName("value");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.DataEntity_();
b0.EntityModifiers();
b0.SimpleName("Variable_Id");
b0.Types();
b0.DataType("String");
b0._DataEntity();
b0.SimpleEntity_();
b0.EntityModifiers();
b0.SimpleName("MetaBinaryExpression");
b0.Types_(1);
b0.SimpleName("MathExpression");
b0._Types();
b0.Features_(3);
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp1");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("MathExpression");
b0.SimpleName("exp2");
b0._Feature();
b0.Feature_();
b0.FeatureModifiers();
b0.SimpleName("BinaryOperator");
b0.SimpleName("binOp");
b0._Feature();
b0._Features();
b0._SimpleEntity();
b0.EnumEntity_();
b0.EntityModifiers();
b0.SimpleName("BinaryOperator");
b0.Types();
b0.EnumValues_(4);
b0.EnumValue("addition");
b0.EnumValue("subtraction");
b0.EnumValue("multiplication");
b0.EnumValue("division");
b0._EnumValues();
b0._EnumEntity();
b0._ModelDeclarations();
b0.Namespace("org.whole.lang.mathpresentation");
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/MathPresentation");
b0._Model();
}
Aggregations