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

Hibernate example source code file (Course.java)

This example Hibernate source code file (Course.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

course, course, io, serializable, serializable, string, string

The Hibernate Course.java source code

//$Id: Course.java 6913 2005-05-25 17:37:51Z oneovthafew $
package org.hibernate.test.ecid;
import java.io.Serializable;

/**
 * @author Gavin King
 */
public class Course implements Serializable {
	
	private String courseCode;
	private String org;
	private String description;

	Course() {}
	Course(String courseCode, String org, String description) {
		this.courseCode = courseCode;
		this.org = org;
		this.description = description;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}
	
	public String getCourseCode() {
		return courseCode;
	}
	
	public String getOrg() {
		return org;
	}

}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Course.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.