1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/SpringDemo1/SpringDemo1-ejb/src/java/cz/frantovo/springDemo1/dto/Kniha.java Wed Feb 10 20:55:08 2010 +0100
1.3 @@ -0,0 +1,74 @@
1.4 +package cz.frantovo.springDemo1.dto;
1.5 +
1.6 +import java.util.Date;
1.7 +
1.8 +/**
1.9 + *
1.10 + * @author fiki
1.11 + */
1.12 +public class Kniha {
1.13 + private int id;
1.14 + private String nazev;
1.15 + private String isbn;
1.16 + private int pocetStran;
1.17 + private Date datumAktualizace;
1.18 + private int rokVydani;
1.19 + private int autor;
1.20 +
1.21 + public int getId() {
1.22 + return id;
1.23 + }
1.24 +
1.25 + public void setId(int id) {
1.26 + this.id = id;
1.27 + }
1.28 +
1.29 + public String getNazev() {
1.30 + return nazev;
1.31 + }
1.32 +
1.33 + public void setNazev(String nazev) {
1.34 + this.nazev = nazev;
1.35 + }
1.36 +
1.37 + public String getIsbn() {
1.38 + return isbn;
1.39 + }
1.40 +
1.41 + public void setIsbn(String isbn) {
1.42 + this.isbn = isbn;
1.43 + }
1.44 +
1.45 + public int getPocetStran() {
1.46 + return pocetStran;
1.47 + }
1.48 +
1.49 + public void setPocetStran(int pocetStran) {
1.50 + this.pocetStran = pocetStran;
1.51 + }
1.52 +
1.53 + public Date getDatumAktualizace() {
1.54 + return datumAktualizace;
1.55 + }
1.56 +
1.57 + public void setDatumAktualizace(Date datumAktualizace) {
1.58 + this.datumAktualizace = datumAktualizace;
1.59 + }
1.60 +
1.61 + public int getRokVydani() {
1.62 + return rokVydani;
1.63 + }
1.64 +
1.65 + public void setRokVydani(int rokVydani) {
1.66 + this.rokVydani = rokVydani;
1.67 + }
1.68 +
1.69 + public int getAutor() {
1.70 + return autor;
1.71 + }
1.72 +
1.73 + public void setAutor(int autor) {
1.74 + this.autor = autor;
1.75 + }
1.76 +
1.77 +}