|
Hibernate example source code file (Multi.java)
The Hibernate Multi.java source code//$Id: Multi.java 4599 2004-09-26 05:18:27Z oneovthafew $ package org.hibernate.test.legacy; import java.util.Calendar; public class Multi extends Top { /** * Constructor for Multi. */ public Multi() { super(); } private String extraProp; private String derived; private Component comp; private Po po; /** * Returns the extraProp. * @return String */ public String getExtraProp() { return extraProp; } /** * Sets the extraProp. * @param extraProp The extraProp to set */ public void setExtraProp(String extraProp) { this.extraProp = extraProp; } public static final class Component { private Calendar cal; private Float floaty; /** * Returns the cal. * @return Calendar */ public Calendar getCal() { return cal; } /** * Sets the cal. * @param cal The cal to set */ public void setCal(Calendar cal) { this.cal = cal; } /** * Returns the floaty. * @return Float */ public Float getFloaty() { return floaty; } /** * Sets the floaty. * @param floaty The floaty to set */ public void setFloaty(Float floaty) { this.floaty = floaty; } } /** * Returns the comp. * @return Component */ public Component getComp() { return comp; } /** * Sets the comp. * @param comp The comp to set */ public void setComp(Component comp) { this.comp = comp; } /** * Returns the po. * @return Po */ public Po getPo() { return po; } /** * Sets the po. * @param po The po to set */ public void setPo(Po po) { this.po = po; } public String getDerived() { return derived; } public void setDerived(String derived) { this.derived = derived; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Multi.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
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.