Mercurial > dive4elements > river
diff flys-backend/src/main/java/de/intevation/flys/model/FedState.java @ 5081:1d95391d056b dami
Made it compile again. Removed obsolete imports. Removed C++-alike ';' at end of classes.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 24 Feb 2013 12:56:20 +0100 |
parents | fb7c4ad94bd8 |
children |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/model/FedState.java Thu Feb 21 12:36:30 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/model/FedState.java Sun Feb 24 12:56:20 2013 +0100 @@ -5,18 +5,12 @@ import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.OneToOne; import javax.persistence.Table; -import org.hibernate.Session; -import org.hibernate.Query; - -import de.intevation.flys.backend.SessionHolder; - @Entity @Table(name = "fed_states") public class FedState implements Serializable { + private Integer id; private String name; @@ -36,8 +30,7 @@ * @return name of the Federal State as String. */ @Column(name = "name") - public String getName() - { + public String getName() { return name; } @@ -46,8 +39,7 @@ * * @param name the value to set. */ - public void setName(String name) - { + public void setName(String name) { this.name = name; } -}; +}