com.sun.j2ee.blueprints.customer.order.model
Class LineItem

java.lang.Object
  |
  +--com.sun.j2ee.blueprints.customer.order.model.LineItem
All Implemented Interfaces:
java.io.Serializable

public class LineItem
extends java.lang.Object
implements java.io.Serializable

This class represents the line item details of an order. This is a helper class used by remote class Order for displaying the line item details of an order.

See Also:
Serialized Form

Constructor Summary
LineItem()
           
LineItem(java.lang.String itemNo, int qty, double unitPrice, int lineNo)
           
 
Method Summary
 java.lang.String getItemNo()
           
 int getLineNo()
           
 int getQty()
           
 double getUnitPrice()
           
 java.lang.String toString()
           
 org.w3c.dom.Element toXml(org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineItem

public LineItem()

LineItem

public LineItem(java.lang.String itemNo,
                int qty,
                double unitPrice,
                int lineNo)
Method Detail

getItemNo

public java.lang.String getItemNo()

getQty

public int getQty()

getUnitPrice

public double getUnitPrice()

getLineNo

public int getLineNo()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Document doc)


Copyright © 2001 Sun Microsystems Inc. All Rights Reserved.