public class TicketPK extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
private int |
event |
private SeatPK |
seat |
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
protected |
TicketPK() |
|
TicketPK(int event,
SeatPK seat) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getEventId() |
SeatPK |
getSeatId() |
int |
hashCode() |
String |
toString() |
private static final long serialVersionUID
private int event
private SeatPK seat
protected TicketPK()
public TicketPK(int event, SeatPK seat)
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.