alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (Auction.java)

This example Hibernate source code file (Auction.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

arraylist, auction, bid, bid, date, date, list, long, long, string, string, util

The Hibernate Auction.java source code

//$Id: Auction.java 5733 2005-02-14 15:56:06Z oneovthafew $
package org.hibernate.test.bidi;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author Gavin King
 */
public class Auction {
	private Long id;
	private String description;
	private List bids = new ArrayList();
	private Bid successfulBid;
	private Date end;
	
	public Date getEnd() {
		return end;
	}
	public void setEnd(Date end) {
		this.end = end;
	}
	public List getBids() {
		return bids;
	}
	public void setBids(List bids) {
		this.bids = bids;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Bid getSuccessfulBid() {
		return successfulBid;
	}
	public void setSuccessfulBid(Bid successfulBid) {
		this.successfulBid = successfulBid;
	}
}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Auction.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.