org.springframework.batch.item.sample
Class LineItem

java.lang.Object
  extended by org.springframework.batch.item.sample.LineItem

public class LineItem
extends Object

An XML line-item. This is a complex type.


Constructor Summary
LineItem()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 double getPerUnitOunces()
           
 double getPrice()
           
 int getQuantity()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setPerUnitOunces(double perUnitOunces)
           
 void setPrice(double price)
           
 void setQuantity(int quantity)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineItem

public LineItem()
Method Detail

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getPerUnitOunces

public double getPerUnitOunces()

setPerUnitOunces

public void setPerUnitOunces(double perUnitOunces)

getPrice

public double getPrice()

setPrice

public void setPrice(double price)

getQuantity

public int getQuantity()

setQuantity

public void setQuantity(int quantity)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008 SpringSource. All Rights Reserved.