BIG CHANGEMENT, correction de la configuration, nouveau test)
This commit is contained in:
@@ -21,12 +21,16 @@ public class Exterior extends PartImpl {
|
||||
|
||||
private String color;
|
||||
|
||||
public Exterior(String name, CategoryImpl category, int price){
|
||||
/*public Exterior(String name, CategoryImpl category, int price){
|
||||
super(new PartTypeImpl(name,Engine.class, category),price);
|
||||
|
||||
Set<String> l = new HashSet<String>();
|
||||
l.add("red");
|
||||
this.addProperty("color", () -> getColor(), c -> setColor(c), colorSet);
|
||||
}*/
|
||||
|
||||
public Exterior(){
|
||||
this.addProperty("color", () -> getColor(), c -> setColor(c), colorSet);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user