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

Hibernate example source code file (SubMulti.java)

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

list, list, multi, multi, submulti, submulti, util

The Hibernate SubMulti.java source code

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

public class SubMulti extends Multi {
	private float amount;
	private SubMulti parent;
	private List children;
	private List moreChildren;
	/**
	 * Returns the amount.
	 * @return float
	 */
	public float getAmount() {
		return amount;
	}
	
	/**
	 * Sets the amount.
	 * @param amount The amount to set
	 */
	public void setAmount(float amount) {
		this.amount = amount;
	}
	
	/**
	 * Returns the childen.
	 * @return List
	 */
	public List getChildren() {
		return children;
	}
	
	/**
	 * Returns the parent.
	 * @return SubMulti
	 */
	public SubMulti getParent() {
		return parent;
	}
	
	/**
	 * Sets the childen.
	 * @param childen The childen to set
	 */
	public void setChildren(List children) {
		this.children = children;
	}
	
	/**
	 * Sets the parent.
	 * @param parent The parent to set
	 */
	public void setParent(SubMulti parent) {
		this.parent = parent;
	}
	
	/**
	 * Returns the moreChildren.
	 * @return List
	 */
	public List getMoreChildren() {
		return moreChildren;
	}

	/**
	 * Sets the moreChildren.
	 * @param moreChildren The moreChildren to set
	 */
	public void setMoreChildren(List moreChildren) {
		this.moreChildren = moreChildren;
	}

}






Other Hibernate examples (source code examples)

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