commit | author | age
|
94fead
|
1 |
package hu.unr.fiber.cardapi.interfaces; |
FÁ |
2 |
|
|
3 |
public interface CardInterface { |
|
4 |
public long getId(); |
|
5 |
|
|
6 |
public boolean validId(); |
|
7 |
|
|
8 |
public CardInterface setId(long id); |
|
9 |
|
|
10 |
public String getName(); |
|
11 |
|
|
12 |
public CardInterface setName(String name); |
|
13 |
|
|
14 |
public String getNumber(); |
|
15 |
|
|
16 |
public CardInterface setNumber(String number); |
|
17 |
|
|
18 |
public String getCardHolder(); |
|
19 |
|
|
20 |
public CardInterface setCardHolder(String cardHolder); |
|
21 |
|
|
22 |
public CardInterface update(CardInterface otherCard); |
|
23 |
} |