| import ns org.eclipse.osbp.authentication.account.entities.UserAccount |
| import ns ${{BASIC_PROJECT_NAME}}.model.blips.ProductMaintenance |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Currency |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.CurrencyNames |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Employee |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Position |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Product |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.ProductClass |
| import ns ${{BASIC_PROJECT_NAME}}.model.entities.Supplier |
| |
| package ${{MODEL_PROJECT_PACKAGE_NAME}} { |
| |
| role Logistics { |
| entity Product ANY { |
| attribute srp INVISIBLE |
| attribute grossWeight INVISIBLE |
| attribute netWeight INVISIBLE |
| attribute recyclablePackage INVISIBLE |
| } |
| entity ProductClass ANY |
| entity Employee ANY |
| entity Position ANY |
| entity UserAccount ANY { |
| attribute superuser DISABLED |
| attribute cookieHashCode INVISIBLE |
| attribute password INVISIBLE |
| attribute failedAttempt DISABLED |
| attribute successfulAttempt DISABLED |
| attribute userName NONEDITABLE |
| attribute forcePwdChange INVISIBLE |
| attribute locked INVISIBLE |
| } |
| entity Currency READABLE |
| entity CurrencyNames READABLE |
| } |
| |
| role Sales { |
| entity Product ANY { |
| attribute unitsPerCase DISABLED |
| attribute casesPerPallet INVISIBLE |
| attribute shelfDepth NONEDITABLE |
| attribute shelfHeight INVISIBLE |
| attribute shelfWidth INVISIBLE |
| } |
| entity ProductClass ANY |
| entity Employee ANY { |
| attribute firstName INVISIBLE |
| } |
| entity Position ANY |
| entity Supplier ANY { |
| attribute yearlyTurnover INVISIBLE |
| } |
| entity UserAccount ANY { |
| attribute superuser DISABLED |
| attribute cookieHashCode INVISIBLE |
| attribute password INVISIBLE |
| attribute failedAttempt DISABLED |
| attribute successfulAttempt DISABLED |
| attribute userName NONEDITABLE |
| attribute forcePwdChange INVISIBLE |
| attribute locked INVISIBLE |
| } |
| process ProductMaintenance { |
| is STARTABLE |
| all usertasks TASKABLE |
| } |
| // process listing executable |
| // process contact executable |
| entity Currency READABLE |
| entity CurrencyNames READABLE |
| } |
| } |