|
Hibernate example source code file (Name.java)
The Hibernate Name.java source code//$Id: Name.java 5686 2005-02-12 07:27:32Z steveebersole $
package org.hibernate.test.hql;
/**
* @author Gavin King
*/
public class Name {
private String first;
private Character initial;
private String last;
protected Name() {}
public Name(String first, Character initial, String last) {
this.first = first;
this.initial = initial;
this.last = last;
}
public Name(String first, char initial, String last) {
this( first, new Character( initial ), last );
}
public String getFirst() {
return first;
}
public void setFirst(String first) {
this.first = first;
}
public Character getInitial() {
return initial;
}
public void setInitial(Character initial) {
this.initial = initial;
}
public String getLast() {
return last;
}
public void setLast(String last) {
this.last = last;
}
}
Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Name.java source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.