Class Person

java.lang.Object
edu.ntnu.idatt1002.k1g4.people.Person
Direct Known Subclasses:
Admin, Competitor, Referee

public abstract class Person extends Object
The abstract class Person is a superclass for competitor, admin and referee.
  • Constructor Details

  • Method Details

    • getId

      public int getId()
      Gets the person's id.
      Returns:
      the id of the person.
    • getName

      public String getName()
      Gets name of the person.
      Returns:
      the name of the person.