Class AdminCard


  • public class AdminCard
    extends UserCard
    An administrator's account card.
    Author:
    Thomas Morgner.
    • Constructor Detail

      • AdminCard

        public AdminCard​(String firstName,
                         String lastName,
                         String cardNr,
                         String login,
                         String password,
                         Date expires)
        Creates a new administrator account card.
        Parameters:
        firstName - the first name.
        lastName - the last name.
        cardNr - the card number.
        login - the login id.
        password - the password.
        expires - the card expiry date.
    • Method Detail

      • getType

        public CardType getType()
        Returns the account type (CardType.ADMIN).
        Overrides:
        getType in class UserCard
        Returns:
        The account type.