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

Hibernate example source code file (Document.java)

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

blob, blob, calendar, calendar, document, document, item, item, jdbc, sql, util

The Hibernate Document.java source code

//$Id: Document.java 8670 2005-11-25 17:36:29Z epbernard $

package org.hibernate.test.mixed;
import java.sql.Blob;
import java.util.Calendar;


/**
 * @author Gavin King
 */

public class Document extends Item {

	private Blob content;

	private Calendar modified;

	private Calendar created;

	/**
	 * @return Returns the created.
	 */

	public Calendar getCreated() {

		return created;

	}

	/**
	 * @param created The created to set.
	 */

	public void setCreated(Calendar created) {

		this.created = created;

	}

	/**
	 * @return Returns the modified.
	 */

	public Calendar getModified() {

		return modified;

	}

	/**
	 * @param modified The modified to set.
	 */

	public void setModified(Calendar modified) {

		this.modified = modified;

	}

	/**
	 * @return Returns the content.
	 */

	public Blob getContent() {

		return content;

	}

	/**
	 * @param content The content to set.
	 */

	public void setContent(Blob content) {

		this.content = content;

	}

}

Other Hibernate examples (source code examples)

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