class Prenda {
TipoDePrenda tipoDePrenda
Material material
Color color
Color colorSecundario
constructor(TipoDePrenda tipoDePrenda, Material material, Color color, Color colorSecundario = null)
if (tipoDePrenda == null || material == null || color == null)
throw NullException()
this.tipoDePrenda = tipoDePrenda
this.material = material
this.color = color
this.colorSecundario = colorSecundario
}
class TipoDePrenda {
Categoria categoria
constructor(Categoria categoria)
this.categoria = categoria
}
enum Categoria {
PARTE_SUPERIOR, CALZADO, PARTE_INFERIOR, ACCESORIO
}
enum Material {
ALGODON, POLIESTER, CUERO
}
-
Notifications
You must be signed in to change notification settings - Fork 0
mfmarano/dds-qmp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Ejercicio "Qué Me Pongo" para la materia Diseño de Sistemas en UTN FRBA
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published