Java Doc for Book.java in  » XML-UI » xui32 » auction » model » 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 » XML UI » xui32 » auction.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   auction.model.Book

Book
public class Book (Code)



Constructor Summary
public  Book()
    
public  Book(String title, String author, String description, Language language, User seller, long initialPrice, long reservePrice, Date startDate, Date endDate)
    

Method Summary
public  voidaddBid(Bid bid)
    
public  intcompareTo(Object o)
    
public  booleanequals(Object o)
    
public  StringgetActiveS()
    
public  StringgetActiveTxt()
    
public  StringgetAuthor()
    
public  List<Bid>getBids()
    
public  StringgetBookLocation()
    
public  Set<Category>getCategories()
    
public  DategetCreated()
    
public  StringgetDescription()
    
public  DategetEndDate()
    
public  StringgetEndDateString()
    
public  LonggetId()
    
public  StringgetImage()
    
public  longgetInitialPrice()
    
public  StringgetInitialPriceEur()
    
public  LanguagegetLanguage()
    
public  StringgetName()
    
public  longgetReservePrice()
    
public  StringgetReservePriceEur()
    
public  UsergetSeller()
    
public  DategetStartDate()
    
public  StringgetStartDateString()
    
public  BidgetSuccessfulBid()
    
public  StringgetTitle()
    
public  intgetVersion()
    
public  inthashCode()
    
public  booleanisActive()
    
public  BidplaceBid(User bidder, long bidAmount, Bid currentMaxBid)
     Places a bid while checking business constraints. This method may throw a BusinessException if one of the requirements for the bid placement wasn't met, e.g.
public  booleanremoveBid(Bid bid)
    
public  voidsetActive(boolean state)
    
public  voidsetActiveS(String state)
    
public  voidsetAuthor(String author)
    
public  voidsetDescription(String description)
    
public  voidsetEndDate(Date endDate)
    
public  voidsetEndDateString(String sd)
    
public  voidsetImage(String image)
    
public  voidsetInitialPrice(long initialPrice)
    
public  voidsetInitialPrice(String initialPrice)
    
public  voidsetLanguage(Language language)
    
public  voidsetReservePrice(long reservePrice)
    
public  voidsetReservePrice(String reservePrice)
    
public  voidsetStartDate(Date startDate)
    
public  voidsetStartDateString(String sd)
    
public  voidsetSuccessfulBid(Bid successfulBid)
    
public  voidsetTitle(String title)
    


Constructor Detail
Book
public Book()(Code)



Book
public Book(String title, String author, String description, Language language, User seller, long initialPrice, long reservePrice, Date startDate, Date endDate)(Code)




Method Detail
addBid
public void addBid(Bid bid)(Code)



compareTo
public int compareTo(Object o)(Code)



equals
public boolean equals(Object o)(Code)



getActiveS
public String getActiveS()(Code)



getActiveTxt
public String getActiveTxt()(Code)



getAuthor
public String getAuthor()(Code)



getBids
public List<Bid> getBids()(Code)



getBookLocation
public String getBookLocation()(Code)



getCategories
public Set<Category> getCategories()(Code)



getCreated
public Date getCreated()(Code)



getDescription
public String getDescription()(Code)



getEndDate
public Date getEndDate()(Code)



getEndDateString
public String getEndDateString()(Code)



getId
public Long getId()(Code)



getImage
public String getImage()(Code)



getInitialPrice
public long getInitialPrice()(Code)



getInitialPriceEur
public String getInitialPriceEur()(Code)



getLanguage
public Language getLanguage()(Code)



getName
public String getName()(Code)



getReservePrice
public long getReservePrice()(Code)



getReservePriceEur
public String getReservePriceEur()(Code)



getSeller
public User getSeller()(Code)



getStartDate
public Date getStartDate()(Code)



getStartDateString
public String getStartDateString()(Code)



getSuccessfulBid
public Bid getSuccessfulBid()(Code)



getTitle
public String getTitle()(Code)



getVersion
public int getVersion()(Code)



hashCode
public int hashCode()(Code)



isActive
public boolean isActive()(Code)



placeBid
public Bid placeBid(User bidder, long bidAmount, Bid currentMaxBid) throws BusinessException(Code)
Places a bid while checking business constraints. This method may throw a BusinessException if one of the requirements for the bid placement wasn't met, e.g. if the auction already ended.
Parameters:
  bidder -
Parameters:
  bidAmount -
Parameters:
  currentMaxBid - the most valuable bid for this item
Parameters:
  currentMinBid - the least valuable bid for this item
throws:
  BusinessException -



removeBid
public boolean removeBid(Bid bid)(Code)



setActive
public void setActive(boolean state)(Code)



setActiveS
public void setActiveS(String state)(Code)



setAuthor
public void setAuthor(String author)(Code)



setDescription
public void setDescription(String description)(Code)



setEndDate
public void setEndDate(Date endDate)(Code)



setEndDateString
public void setEndDateString(String sd)(Code)



setImage
public void setImage(String image)(Code)



setInitialPrice
public void setInitialPrice(long initialPrice)(Code)



setInitialPrice
public void setInitialPrice(String initialPrice)(Code)



setLanguage
public void setLanguage(Language language)(Code)



setReservePrice
public void setReservePrice(long reservePrice)(Code)



setReservePrice
public void setReservePrice(String reservePrice)(Code)



setStartDate
public void setStartDate(Date startDate)(Code)



setStartDateString
public void setStartDateString(String sd)(Code)



setSuccessfulBid
public void setSuccessfulBid(Bid successfulBid)(Code)



setTitle
public void setTitle(String title)(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.