Remove catalog controller and form in design model

This commit is contained in:
Theo Reichert 2023-11-16 16:38:00 +01:00 committed by Simon Bruder
parent ff8013e914
commit eee5a24452
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -6,11 +6,6 @@ package javax.money {
class MonetaryAmount class MonetaryAmount
} }
package Spring {
interface Model
class Sort
}
package Salespoint { package Salespoint {
'https://st.inf.tu-dresden.de/SalesPoint/api//org/salespointframework/catalog/Catalog.html' 'https://st.inf.tu-dresden.de/SalesPoint/api//org/salespointframework/catalog/Catalog.html'
interface Catalog << T > Product >> { interface Catalog << T > Product >> {
@ -46,24 +41,9 @@ package catering.catalog {
interface ConsumableCatalog { interface ConsumableCatalog {
+ DEFAULT_SORT : Sort + DEFAULT_SORT : Sort
} }
RentableCatalog --o CatalogController : "-rentableCatalog"
RentableCatalog ..> Catalog : "<bind> <T->Rentable" RentableCatalog ..> Catalog : "<bind> <T->Rentable"
ConsumableCatalog --o CatalogController : "-consumableCatalog"
ConsumableCatalog ..> Catalog : "<bind> <T->Catalog" ConsumableCatalog ..> Catalog : "<bind> <T->Catalog"
class CatalogController {
+ CatalogController()
+ CatalogByEventategory(model : Model, form : Form) : String
}
CatalogController --> Inventory : "- inventory"
CatalogController ..> Model : "use"
CatalogController .> CatalogForm : "use"
class CatalogForm {
- query
+ getQuery() : String
}
class Consumable { class Consumable {
- promotionPrice : MonetaryAmount - promotionPrice : MonetaryAmount
- wholesalePrice : MonetaryAmount - wholesalePrice : MonetaryAmount