METAMODEL date:2015-03-06 uri:http://unican.es/istr/PyEmofUC/CountyCity/TaxCensus mmUrl:http://unican.es/istr/PyEmofUC/EmofUC.xmi nsPrefix:txc rootType:CountyTaxCensus rootPackage:Package[txc.rootPacage]{ nestingPackage=None visibility=#emof.VisibilityKind.Public CountyTaxCensus:Class[txc.CountyTaxCensus]{ package=#txc.rootPacage visibility=#emof.VisibilityKind.Public superclass=http://unican.es/istr/PyEmofUC/EmofUC#emof.Object countyName:Property[txc.CountyTaxCensus.countyNname]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/EmofUC#emof.PyString theClass=#txc.CountyTaxCensus } # countyName taxPayer:Property[txc.CountyTaxCensus.taxPayer]{ upper=* lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=#txc.TaxPayer theClass=#txc.CountyTaxCensus } # taxPayer } # CountyTaxCensus TaxPayer:Class[txc.TaxPayer]{ package=#txc.rootPacage visibility=#emof.VisibilityKind.Public superclass=http://unican.es/istr/PyEmofUC/EmofUC#emof.Object update:Operation[txc.TaxPayer.update]{ OPE:Tag[txc.TaxPayer.update.OPE] value=self.currentTax = None\nif self.holder.job.salary:\n self.currentTax = Tax()\n self.currentTax.date = GLOBAL.currentDate()\n self.currentTax.amount = self.holder.job.salary * 0.2 - 100.0 * len(self.holder.offspring) raisedException= upper=1 lower=1 visibility=#emof.VisibilityKind.Public theType=None theClass=#txc.TaxPayer } # update payerName:Property[txc.TaxPayer.payerName]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/EmofUC#emof.PyString theClass=#txc.TaxPayer } # payerName address:Property[txc.TaxPayer.address]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/EmofUC#emof.PyString theClass=#txc.TaxPayer } # address currentTax:Property[txc.TaxPayer.currentTax]{ upper=1 lower=0 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=#txc.Tax theClass=#txc.TaxPayer } # currentTax holder:Property[txc.TaxPayer.holder]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/CountyCity/County#cnty.Adult theClass=#txc.TaxPayer } # holder } # TaxPayer Tax:Class[txc.Tax]{ package=#txc.rootPacage visibility=#emof.VisibilityKind.Public superclass=http://unican.es/istr/PyEmofUC/EmofUC#emof.Object amount:Property[txc.Tax.amount]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/EmofUC#emof.PyReal theClass=#txc.Tax } # amount date:Property[txc.Tax.date]{ upper=1 lower=1 opposite=None visibility=#emof.VisibilityKind.Public default=None theType=http://unican.es/istr/PyEmofUC/EmofUC#emof.PyString theClass=#txc.Tax } # date } # Tax } # rootPackage # eof