public ArbreDetails(Arbre e) { this.description = e.description; this.nom = e.nom; this.id = e.id; createur = e.Createur().nomAffichage(); blocage = (e.idBlocage == null) ? "" :e.Blocage().nom; bloqueur = (e.idBloqueur == null) ? "" : e.Bloqueur().nom; dateBlocage = e.dateBlocage; dateCreation = e.dateCreation; }
public ArbreIndex(Arbre e) { this.bloque = e.Bloque(); this.description = e.description; this.nom = e.nom; this.id = e.id; this.nombreDePersonnes = e.NombreDePersonnes(); this.idBlocage = e.idBlocage; }
public ArbreModification(Arbre e) { this.description = e.description; this.nom = e.nom; this.id = e.id; this.idCreateur = e.idCreateur; }