|
|
|
@ -2,13 +2,18 @@ package de.kreth.vaadin.clubhelper.vaadinclubhelper.business.meldung; |
|
|
|
|
|
|
|
|
|
|
|
import de.kreth.vaadin.clubhelper.vaadinclubhelper.data.Altersgruppe; |
|
|
|
import de.kreth.vaadin.clubhelper.vaadinclubhelper.data.Altersgruppe; |
|
|
|
import de.kreth.vaadin.clubhelper.vaadinclubhelper.data.Person; |
|
|
|
import de.kreth.vaadin.clubhelper.vaadinclubhelper.data.Person; |
|
|
|
|
|
|
|
import de.kreth.vaadin.clubhelper.vaadinclubhelper.data.Startpass; |
|
|
|
|
|
|
|
|
|
|
|
class MeldungDmtWettkampfGenerator extends AbstractMeldungGenerator { |
|
|
|
class MeldungDmtWettkampfGenerator extends AbstractMeldungGenerator { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void personRepresentation(StringBuilder txt, Altersgruppe g, Person p) { |
|
|
|
public void personRepresentation(StringBuilder txt, Altersgruppe g, Person p) { |
|
|
|
txt.append("\n").append(p.getPrename()).append(" ").append(p.getSurname()).append("\t") |
|
|
|
txt.append("\n").append(p.getPrename()).append(" ").append(p.getSurname()).append("\t") |
|
|
|
.append(p.getBirth().getYear()).append("\t").append(p.getStartpass().getStartpassNr()); |
|
|
|
.append(p.getBirth().getYear()).append("\t"); |
|
|
|
|
|
|
|
Startpass startpass = p.getStartpass(); |
|
|
|
|
|
|
|
if (startpass != null) { |
|
|
|
|
|
|
|
txt.append(p.getStartpass().getStartpassNr()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|