|
Hibernate example source code file (C1.java)
The Hibernate C1.java source code//$Id: C1.java 4599 2004-09-26 05:18:27Z oneovthafew $ package org.hibernate.test.legacy; import java.util.ArrayList; import java.util.Collection; public class C1 extends B{ private String address; private String c1Name; private C2 c2; private D d; private Collection c2s = new ArrayList(); /** * Returns the address. * @return String */ public String getAddress() { return address; } /** * Sets the address. * @param address The address to set */ public void setAddress(String address) { this.address = address; } /** * Returns the d. * @return D */ public D getD() { return d; } /** * Sets the d. * @param d The d to set */ public void setD(D d) { this.d = d; } /** * @return Returns the c. */ public C2 getC2() { return c2; } /** * @param c The c to set. */ public void setC2(C2 c) { this.c2 = c; } /** * @return Returns the cs. */ public Collection getC2s() { return c2s; } /** * @param cs The cs to set. */ public void setC2s(Collection cs) { this.c2s = cs; } /** * @return Returns the c1Name. */ public String getC1Name() { return c1Name; } /** * @param name The c1Name to set. */ public void setC1Name(String name) { c1Name = name; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate C1.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.