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

Hibernate example source code file (Circular.java)

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

circular, circular, class, class, object, object, string, string

The Hibernate Circular.java source code

//$Id: Circular.java 4599 2004-09-26 05:18:27Z oneovthafew $
package org.hibernate.test.legacy;


public class Circular {
	
	private String id;
	private Class clazz;
	private Circular other;
	private Object anyEntity;
	
	/**
	 * Constructor for Circular.
	 */
	public Circular() {
		super();
	}
	
	/**
	 * Returns the clazz.
	 * @return Class
	 */
	public Class getClazz() {
		return clazz;
	}
	
	/**
	 * Returns the id.
	 * @return String
	 */
	public String getId() {
		return id;
	}
	
	/**
	 * Sets the clazz.
	 * @param clazz The clazz to set
	 */
	public void setClazz(Class clazz) {
		this.clazz = clazz;
	}
	
	/**
	 * Sets the id.
	 * @param id The id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	
	/**
	 * Returns the other.
	 * @return Circular
	 */
	public Circular getOther() {
		return other;
	}
	
	/**
	 * Sets the other.
	 * @param other The other to set
	 */
	public void setOther(Circular other) {
		this.other = other;
	}
	
	/**
	 * Returns the anyEntity.
	 * @return Object
	 */
	public Object getAnyEntity() {
		return anyEntity;
	}
	
	/**
	 * Sets the anyEntity.
	 * @param anyEntity The anyEntity to set
	 */
	public void setAnyEntity(Object anyEntity) {
		this.anyEntity = anyEntity;
	}
	
}






Other Hibernate examples (source code examples)

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