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

Hibernate example source code file (Image.java)

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

image, image, long, long, string, string

The Hibernate Image.java source code

package org.hibernate.test.hql;


/**
 * @author Rob.Hasselbaum
 */
public class Image {
	
	private Long id;
	private String name;
	private double sizeKb;
	
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the size in kb
	 */
	public double getSizeKb() {
		return sizeKb;
	}
	/**
	 * @param sizeKb the size in kb to set
	 */
	public void setSizeKb(double sizeKb) {
		this.sizeKb = sizeKb;
	}

}

Other Hibernate examples (source code examples)

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