FileDocCategorySizeDatePackage
Stock.javaAPI DocExample848Wed Feb 27 10:13:42 GMT 2002javajaxb.po

Stock

public class Stock extends Object

Fields Summary
protected boolean
onHand
default = "true"
protected int
quantity
Constructors Summary
public Stock()



      
    
public Stock(boolean onHand, int quantity)
full constructor

        this.onHand = onHand;
        this.quantity = quantity;
    
public Stock(int quantity)
minimum constructor

        this.quantity = quantity;
    
Methods Summary
public booleangetOnHand()
default = "true"

        return(onHand);
    
public intgetQuantity()

        return(quantity);
    
public voidsetOnHand(boolean onHand)
default = "true"

        this.onHand = onHand;
    
public voidsetQuantity(int quantity)

        this.quantity = quantity;