pumpa
Class PohonnaHmota

java.lang.Object
  |
  +--pumpa.PohonnaHmota

public class PohonnaHmota
extends java.lang.Object

Třída aplikační logiky.

Version:
2.0 (2003-Apr-02)
Author:
Pavel Herout

Field Summary
static int NAFTA
           
static int NATURAL
           
static java.lang.String[] nazevDruhu
           
static int POCET_DRUHU
           
static int SPECIAL
           
 
Constructor Summary
PohonnaHmota(int druh, double cenaZaLitr)
           
 
Method Summary
 double getCenaZaLitr()
           
 java.lang.String getDruh()
           
static java.lang.String getDruh(int druh)
           
static int getDruh(java.lang.String druh)
           
 pumpa.Zasobnik getZasobnik()
           
 void setCenaZaLitr(double novaCena)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POCET_DRUHU

public static final int POCET_DRUHU
See Also:
Constant Field Values

nazevDruhu

public static final java.lang.String[] nazevDruhu

SPECIAL

public static final int SPECIAL
See Also:
Constant Field Values

NATURAL

public static final int NATURAL
See Also:
Constant Field Values

NAFTA

public static final int NAFTA
See Also:
Constant Field Values
Constructor Detail

PohonnaHmota

public PohonnaHmota(int druh,
                    double cenaZaLitr)
Method Detail

getCenaZaLitr

public double getCenaZaLitr()

setCenaZaLitr

public void setCenaZaLitr(double novaCena)

getDruh

public java.lang.String getDruh()

getDruh

public static java.lang.String getDruh(int druh)

getDruh

public static int getDruh(java.lang.String druh)

getZasobnik

public pumpa.Zasobnik getZasobnik()