public class PassengerCarConfiguration extends Object implements Serializable
Constructor and Description |
---|
PassengerCarConfiguration() |
PassengerCarConfiguration(int class1,
int class2,
int couchette,
int compartments) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getClass1() |
int |
getClass2() |
int |
getCompartments() |
int |
getCouchette() |
Integer |
getId() |
int |
hashCode() |
void |
setClass1(int class1) |
void |
setClass2(int class2) |
void |
setCompartments(int compartments) |
void |
setCouchette(int sleepSeats) |
void |
setId(Integer id) |
String |
toString() |
public PassengerCarConfiguration()
public PassengerCarConfiguration(int class1, int class2, int couchette, int compartments)
public Integer getId()
public void setId(Integer id)
public int getClass1()
public void setClass1(int class1)
public int getClass2()
public void setClass2(int class2)
public int getCouchette()
public void setCouchette(int sleepSeats)
public int getCompartments()
public void setCompartments(int compartments)
Copyright © 2020. All rights reserved.