public $Definition$() { super(); this._code = "mrqfygw"; this._name = "direc.Asignations"; this._isAbstract = null; this._label = "Asignaciones"; this.setIsSingleton(true); this._index = new org.monet.metamodel.internal.Ref("direc.Asignations.Indice"); org.monet.metamodel.CollectionDefinition.AddProperty addProperty3 = new org.monet.metamodel.CollectionDefinition.AddProperty(); addProperty3 .getNode() .add(new org.monet.metamodel.internal.Ref("direc.Asignations.AsignationDefault")); this.setAdd(addProperty3); org.monet.metamodel.CollectionDefinition.SetViewProperty setViewProperty6 = new org.monet.metamodel.CollectionDefinition.SetViewProperty(); setViewProperty6.setLabel("Todos"); setViewProperty6.setCode("mbszzya"); setViewProperty6.setName("ViewIndice"); org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty showProperty7 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty(); org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty.IndexProperty indexProperty7 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty .IndexProperty(); indexProperty7.setSortBy( new org.monet.metamodel.internal.Ref( "AcademicYear", "direc.Asignations.Indice", "direc.Asignations.Indice.AcademicYear")); indexProperty7.setWithView( new org.monet.metamodel.internal.Ref( "Normal", "direc.Asignations.Indice", "direc.Asignations.Indice.Normal")); showProperty7.setIndex(indexProperty7); setViewProperty6.setShow(showProperty7); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty analyzeProperty11 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty(); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty.DimensionProperty dimensionProperty11 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty .DimensionProperty(); dimensionProperty11 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "AcademicYear", "direc.Asignations.Indice", "direc.Asignations.Indice.AcademicYear")); analyzeProperty11.setDimension(dimensionProperty11); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty.SortingProperty sortingProperty13 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty .SortingProperty(); sortingProperty13 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "AcademicYear", "direc.Asignations.Indice", "direc.Asignations.Indice.AcademicYear")); analyzeProperty11.setSorting(sortingProperty13); setViewProperty6.setAnalyze(analyzeProperty11); this.addView(setViewProperty6); }
public $Definition$() { super(); this._code = "minbk5w"; this._name = "ceip.Califications"; this._isAbstract = null; this._label = "Calificaciones"; this.setIsSingleton(true); this._index = new org.monet.metamodel.internal.Ref("ceip.Califications.Indice"); org.monet.metamodel.CollectionDefinition.AddProperty addProperty3 = new org.monet.metamodel.CollectionDefinition.AddProperty(); addProperty3 .getNode() .add(new org.monet.metamodel.internal.Ref("ceip.Califications.Calification")); this.setAdd(addProperty3); org.monet.metamodel.CollectionDefinition.OperationProperty operationProperty5 = new org.monet.metamodel.CollectionDefinition.OperationProperty(); operationProperty5.setLabel("Generar Boletines"); operationProperty5.setCode("mho6x0q"); operationProperty5.setName("Boletines"); this.addOperation(operationProperty5); org.monet.metamodel.CollectionDefinition.SetViewProperty setViewProperty8 = new org.monet.metamodel.CollectionDefinition.SetViewProperty(); setViewProperty8.setCode("muf9cnq"); setViewProperty8.setIsDefault(true); org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty showProperty9 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty(); org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty.IndexProperty indexProperty9 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.ShowProperty .IndexProperty(); indexProperty9.setSortBy( new org.monet.metamodel.internal.Ref( "Subject", "ceip.Califications.Indice", "ceip.Califications.Indice.Subject")); indexProperty9.setWithView( new org.monet.metamodel.internal.Ref( "Normal", "ceip.Califications.Indice", "ceip.Califications.Indice.Normal")); showProperty9.setIndex(indexProperty9); setViewProperty8.setShow(showProperty9); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty analyzeProperty13 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty(); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty.DimensionProperty dimensionProperty13 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty .DimensionProperty(); dimensionProperty13 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Subject", "ceip.Califications.Indice", "ceip.Califications.Indice.Subject")); dimensionProperty13 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Level", "ceip.Califications.Indice", "ceip.Califications.Indice.Level")); dimensionProperty13 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Student", "ceip.Califications.Indice", "ceip.Califications.Indice.Student")); analyzeProperty13.setDimension(dimensionProperty13); org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty.SortingProperty sortingProperty17 = new org.monet.metamodel.CollectionDefinition.SetViewProperty.AnalyzeProperty .SortingProperty(); sortingProperty17 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "AcademicYear", "ceip.Califications.Indice", "ceip.Califications.Indice.AcademicYear")); sortingProperty17 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Subject", "ceip.Califications.Indice", "ceip.Califications.Indice.Subject")); sortingProperty17 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Level", "ceip.Califications.Indice", "ceip.Califications.Indice.Level")); sortingProperty17 .getAttribute() .add( new org.monet.metamodel.internal.Ref( "Student", "ceip.Califications.Indice", "ceip.Califications.Indice.Student")); analyzeProperty13.setSorting(sortingProperty17); setViewProperty8.setAnalyze(analyzeProperty13); this.addView(setViewProperty8); }