|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jfreerails.controller.CargoElementObject
public class CargoElementObject
Small data object to store the rate of supply of a cargo.
Field Summary | |
---|---|
private int |
rate
|
private int |
type
|
Constructor Summary | |
---|---|
CargoElementObject(int rate,
int type)
|
Method Summary | |
---|---|
int |
getRate()
|
int |
getType()
|
void |
setRate(int rate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int rate
private final int type
Constructor Detail |
---|
public CargoElementObject(int rate, int type)
Method Detail |
---|
public int getRate()
public void setRate(int rate)
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |