Skip to content
Snippets Groups Projects
Commit 48ff3699 authored by Goik Martin's avatar Goik Martin
Browse files

adding missing javadoc

parent 494b5e1d
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,9 @@ public class User {
public String getUid() {
return uid;
}
/**
* @param uid See {@link #getUid()}.
*/
public void setUid(String uid) {
this.uid = uid;
}
......@@ -31,12 +34,22 @@ public class User {
public String getCname() {
return cname;
}
/**
* @param cname See {@link #getCname()}.
*/
public void setCname(String cname) {
this.cname = cname;
}
/**
* Required for Hibernate/JPA compatibility
*/
public User() {}
/**
* @param uid See {@link #getUid()}.
* @param cname See {@link #getCname()}.
*/
public User(String uid, String cname) {
super();
this.uid = uid;
......
......@@ -18,6 +18,9 @@ import org.hibernate.Transaction;
*/
public class PersistSingleUser {
/**
* @param args not used.
*/
public static void main(String[] args) {
final Session session = HibernateUtil.createSessionFactory("hibernate.cfg.xml").openSession();
......
......@@ -15,6 +15,9 @@ import org.hibernate.Transaction;
*/
public class PersistUsers {
/**
* @param args not used.
*/
public static void main(String[] args) {
final Session session = HibernateUtil.createSessionFactory("hibernate.cfg.xml").openSession();
......
......@@ -20,6 +20,9 @@ import org.hibernate.Transaction;
*/
public class SelectUser {
/**
* @param args not used.
*/
public static void main(String[] args) {
final Session session = HibernateUtil.createSessionFactory("hibernate.cfg.xml").openSession();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment