You are on page 1of 1

Visual Paradigm Professional(David Artunduaga(Universidad Icesi))

ui model
Dumbbell
WarriorCrossfitSystem -weight : double
is
+registerAthlete() : void WarriorCrossfit +Dumbbell(id : String, available : int, weight : double)
+registerWeightAndHeight() : void +resgisterHobbieAthlete(id : String, name : String, age : int, address : String, phone : String, mensuality : double, weight : String, height : String, BMI : String) : String +getWeight() : double
ExerciseInstruments
+updatePR() : void +registerProfessionalAthlete(id : String, name : String, age : int, address : String, phone : String, mensuality : double, weight : String, height : String, PR : String) : String +setWeight(weight : double) : void
+addService() : void +registerWeightAndHeight(clientId : String, weight : String, height : String) : String -id : String
1
+addInstrument() : void +updatePR(clientId : String, PR : String) : String -available : int
1
+switchInstruments() : void +addService(clientId : String, serviceName : String) : String +ExerciseInstruments(id : String, available : int)
0..* Rope
+switchServices() : void +addInstrument(clientId : String, instrumentId : String) : String has +getId() : String
is -length : double
+consultMenasuality() : void +switchInstruments(clientId : String, instrumentId : String) : String +setId(id : String) : void
+registerPayment() : void +switchServices(clientId : String, serviceName : String) : String +getAvailable() : int +Rope(id : String, available : int, length : double)
+consultMensuality(clientId : String) : String +setAvailable(available : int) : void +getLength() : double
+registerPayment(clientId : String, meanOfPayment : String) : String +setLength(length : double) : void
+findClientById(clientId : String) : Athlete 0..* 0..*

1 ImportedSpecialised
is -tax : double
has
-price : double
importedSpecialised
0..* +ImportedSpecialised(id : String, available : int, tax double)
1
+getTax() : double
Athlete
medicineBall +setTax(tax : double) : void
-id : String
1 +getPrice() : double
-name : String
+setPrice(price : double) : void
-age : int
-address : String
-phone : String is
MedicineBall
Payment -mensuality : double
-weight : String Services -weight : double
-date : Calendar -color : String
-height : String -name : String
-total : double -price : double
-wHistory : String -price : double
+Payment(date : Calendar) -hHistory : String 1 +MedicineBall(id : String, available : int, weight : double, color : String)
+getDate() : Calendar 0..* has services +Services(name : String) <<Interface>>
+Athlete(id : String, name : String, age : int, address : String, phone : String, mensuality : double, weight : String, height : String) +getWeight() : double
+setDate(date : Calendar) : void +getName() : String Priceable
+getId() : String 0..* +setWeight(weight : double) : void
+getTotal() : double makes payments 1 +setName(name : String) : void
+calculatePrice() : double +getColor() : String
+setId(id : String) : void +getPrice() : double
+setTotal(total : double) : void +setColor(color : String) : void
+getName() : String +setPrice(price : double) : void
+calculateTotal(mensuality : double, instrumentsPrice : double, servicesPrice : duble) : double +getPrice() : double
+setName(name : String) : void
+getAge() : int +setPrice(price : double) : void
+setAge(age : int) : void
is is Transport
+getAddress() : String is
+setAddress(address : String) : void +Transport(name : String)
<<enumeration>> +getPhone() : String
MeanOfPayment +setPhone(phone : String) : void is
CASH +getMensuality() : double NutritionalMonitoring Hydratation PersonalisedTraining
CREDIT_CARD +setMensuality(mensuality : double) : void +NutritionalMonitoring(name : String) +Hydratation(name : String) +PersonalisedTraining(name : String)
+getWeight() : String
+setWeight(weight : String) : void
+getHeight() : String
+setHeight(height : String) : void
+getHistory() : String
+setHistory(history : String) : void

is is

HobbieAthlete ProfessionalAthlete
-BMI : String -PR : String
+HobbieAthlete(id : String, name : String, age : int, address : String, phone : String, mensuality : double, weight : String, height : String, BMI : String) +ProfessionalAthlete(id : String, name : String, age : int, address : String, phone : String, mensuality : double, weight : String, height : String, PR : String)
+getBMI() : String +getPR() : String
+setBMI(BMI : String) : void +setPR(PR : String) : void

You might also like