package nl.jft.logic.participant;

import nl.jft.common.Identifiable;

/**
 * The {@code Participant} interface defines a participant that can partake in {@link nl.jft.logic.match.Match Matches} and {@link nl.jft.logic.tournament.Tournament Tournamements}.
 * A {@code Participant} is stored in the database and thus should be {@code Identifiable}.
 *
 * @author Lesley
 * @author Oscar de Leeuw
 */
public interface Participant extends Identifiable {

    /**
     * Gets the name of the {@code Participant}.
     *
     * @return A {@code String} that represents the name of the {@code Participant}.
     */
    String getName();

}

@@ -626,10 +626,194 @@
 ame();%0A%0A
+    /**%0A     * Gets the %7B@code Elo%7D-rating of the %7B@code Participant%7D.%0A     *%0A     * @return A %7B@code Elo%7D containing the rating of the %7B@code Participant%7D.%0A     */%0A    Elo getElo();%0A%0A
 %7D%0A

Add Elo to Participant.