import java.io.Serializable; /** * Un rendezvous */ class RendezVous implements Serializable { static final long serialVersionUID = 0xC0FFEE; private String msg; private PlageJournee p; private boolean repet_jour = false; private boolean repet_sem = false; public RendezVous(PlageJournee p, String texte) { this(p, texte, false, false); } public RendezVous(PlageJournee p, String texte, boolean rep_jour) { this(p, texte, rep_jour, false); } public RendezVous(PlageJournee p, String texte, boolean rep_jour, boolean rep_sem) { this.p = p; msg = texte; repet_jour = rep_jour; repet_sem = rep_sem; } public String getTexte() { return msg; } public void setTexte(String txt) { msg = txt; } public PlageJournee getPlage() { return p; } public boolean repetSem() { return repet_sem; } public boolean repetJour() { return repet_jour; } public void setRepetSem(boolean t) { repet_sem = t; } public void setRepetJour(boolean t) { repet_jour = t; } public String toString() { return msg; } }