mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Remove catalog controller and form in design model
This commit is contained in:
parent
ff8013e914
commit
eee5a24452
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue