Java Doc for LineItemEJB.java in  » J2EE » JOnAS-4.8.6 » com » sun » j2ee » blueprints » lineitem » ejb » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » JOnAS 4.8.6 » com.sun.j2ee.blueprints.lineitem.ejb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.j2ee.blueprints.lineitem.ejb.LineItemEJB

LineItemEJB
abstract public class LineItemEJB implements EntityBean(Code)
This is the main Entity Bean class for LineItemEJB




Method Summary
public  voidejbActivate()
    
public  ObjectejbCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped)
    
public  ObjectejbCreate(LineItem lineItem, int qty)
    
public  voidejbLoad()
    
public  voidejbPassivate()
    
public  voidejbPostCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped)
    
public  voidejbPostCreate(LineItem lineItem, int qty)
    
public  voidejbRemove()
    
public  voidejbStore()
    
abstract public  StringgetCategoryId()
    
public  LineItemgetData()
    
abstract public  StringgetItemId()
    
abstract public  StringgetLineNumber()
    
abstract public  StringgetProductId()
    
abstract public  intgetQuantity()
    
abstract public  intgetQuantityShipped()
    
abstract public  floatgetUnitPrice()
    
abstract public  voidsetCategoryId(String id)
    
public  voidsetEntityContext(EntityContext c)
    
abstract public  voidsetItemId(String id)
    
abstract public  voidsetLineNumber(String num)
    
abstract public  voidsetProductId(String id)
    
abstract public  voidsetQuantity(int qty)
    
abstract public  voidsetQuantityShipped(int qty)
    
abstract public  voidsetUnitPrice(float price)
    
public  voidunsetEntityContext()
    



Method Detail
ejbActivate
public void ejbActivate()(Code)



ejbCreate
public Object ejbCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) throws CreateException(Code)
The ejb create method - returns object because there is primary key



ejbCreate
public Object ejbCreate(LineItem lineItem, int qty) throws CreateException(Code)



ejbLoad
public void ejbLoad()(Code)



ejbPassivate
public void ejbPassivate()(Code)



ejbPostCreate
public void ejbPostCreate(String catId, String prodId, String itemId, String lineNo, int qty, float price, int qtyShipped) throws CreateException(Code)



ejbPostCreate
public void ejbPostCreate(LineItem lineItem, int qty) throws CreateException(Code)



ejbRemove
public void ejbRemove() throws RemoveException(Code)



ejbStore
public void ejbStore()(Code)



getCategoryId
abstract public String getCategoryId()(Code)
Accessor for line item's category id String the category id



getData
public LineItem getData()(Code)



getItemId
abstract public String getItemId()(Code)
Accessor for line item's item id String the item id



getLineNumber
abstract public String getLineNumber()(Code)
Accessor for line item's line number String the linenumber



getProductId
abstract public String getProductId()(Code)
Accessor for line item's product id String the product id



getQuantity
abstract public int getQuantity()(Code)
Accessor for line item's quantity int the quantity



getQuantityShipped
abstract public int getQuantityShipped()(Code)
Accessor for line item's qty that is shipped int the qty already shipped



getUnitPrice
abstract public float getUnitPrice()(Code)
Accessor for line item's unit price float the unit price



setCategoryId
abstract public void setCategoryId(String id)(Code)
Setter for line item's category id
Parameters:
  String - the category id



setEntityContext
public void setEntityContext(EntityContext c)(Code)
Other life cycle methods



setItemId
abstract public void setItemId(String id)(Code)
Setter for line item's item id
Parameters:
  String - the item id



setLineNumber
abstract public void setLineNumber(String num)(Code)
Setter for line item's line number
Parameters:
  String - the line number



setProductId
abstract public void setProductId(String id)(Code)
Setter for line item's product id
Parameters:
  String - the product id



setQuantity
abstract public void setQuantity(int qty)(Code)
Setter for line item's quantity int the quantity



setQuantityShipped
abstract public void setQuantityShipped(int qty)(Code)
Setter for line item's quantity that is already shipped int the qty already shipped



setUnitPrice
abstract public void setUnitPrice(float price)(Code)
Setter for line item's unit price float the unit price



unsetEntityContext
public void unsetEntityContext()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.