Class DBDeliverable

java.lang.Object
  extended by DBProduct
      extended by DBDeliverable
Direct Known Subclasses:
Deliverable

public class DBDeliverable
extends DBProduct

Luokka tietokannan ja sovelluksen viestinvälitysolioille. Tarkoituksena on, että DBLib hakee tietokannasta tiedot olion kenttiin ja Halson Deliverable-luokka periytetään tästä. Metodit eivät sisällä juuri mitään toiminnallisuutta.


Constructor Summary
DBDeliverable()
          Tyhjä konstruktori joka ei tee mitään.
 
Method Summary
 int getCompensatable()
          Metodi kentän intCompensatable sisällön kyselyyn
 int getCompensatableAmount()
          Metodi kentän intCompensatableAmount sisällön kyselyyn
 java.lang.String getSize()
          Metodi tuotteen koon kyselyyn
static void main(java.lang.String[] args)
           
 void setCompensatable(int compensatable)
          Metodi kentän intCompensatable arvon asettamiseen
 void setCompensatableAmount(int amount)
          Metodi kentän intCompensatableAmount arvon asettamiseen
 void setSize(java.lang.String strSize)
          Metodi tuotteen koon asettamiseen
 
Methods inherited from class DBProduct
getID, getNames, isPassive, setID, setNames, setPassive
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBDeliverable

public DBDeliverable()
Tyhjä konstruktori joka ei tee mitään.

Method Detail

getCompensatable

public int getCompensatable()
Metodi kentän intCompensatable sisällön kyselyyn

Returns:
kentän intCompensatable arvon

getCompensatableAmount

public int getCompensatableAmount()
Metodi kentän intCompensatableAmount sisällön kyselyyn

Returns:
kentän intCompensatableAmount arvon

setCompensatable

public void setCompensatable(int compensatable)
Metodi kentän intCompensatable arvon asettamiseen

Parameters:
compensatable - Hyvitettävän tuotteen id.

setCompensatableAmount

public void setCompensatableAmount(int amount)
Metodi kentän intCompensatableAmount arvon asettamiseen

Parameters:
amount - Hyvitettävän tuotteen hyvitettävä määrä.

getSize

public java.lang.String getSize()
Metodi tuotteen koon kyselyyn

Returns:
kentän strSize sisällön

setSize

public void setSize(java.lang.String strSize)
Metodi tuotteen koon asettamiseen

Parameters:
strSize - -kentän sisällön

main

public static void main(java.lang.String[] args)