1   package ch.ige.edossier.web.vo;
2   
3   import java.io.Serializable;
4   import java.sql.Date;
5   
6   /**
7    * B32.03 - eDossier-Interceptions - Diplomarbeit an der Software-Schule Schweiz<br>
8    * Value-Object: Kapselt die Daten der Tabelle TMTYPE
9    * <p>
10   * Copyright (c) 2004, Eidgenössisches Institut für Geistiges Eigentum
11   * @author    Anita Rueegsegger, Marc Bouquet
12   * @version   $Id: TMTypeVO.java,v 1.4 2004/10/22 01:58:20 bouquet Exp $
13   */
14  public class TMTypeVO implements Serializable
15  {
16    private int tmtypeId = 0;
17    private String description = null;
18    private Date createdDat = null;
19    private Date changedDat = null;
20  
21    /**
22     * Gibt den Inhalt des ValueObject TMType zurück
23     * @return Inhalt von TMType
24     */
25    public String toString()
26    {
27      StringBuffer buf = new StringBuffer();
28      buf.append( " tmtypeId        = <" + this.tmtypeId + "> \n" );
29      buf.append( " description     = <" + this.description + "> \n" );
30      buf.append( " createdDat      = <" + this.createdDat + "> \n" );
31      buf.append( " changedDat      = <" + this.changedDat + "> \n" );
32      return buf.toString();
33    }
34  
35    /*******************************************************************************************************************
36       G E T T E R - / S E T T E R - M E T H O D E N
37     *******************************************************************************************************************/
38  
39    public int getTmtypeId()
40    {
41      return tmtypeId;
42    }
43  
44    public void setTmtypeId( int tmtypeId )
45    {
46      this.tmtypeId = tmtypeId;
47    }
48  
49    public String getDescription()
50    {
51      return description;
52    }
53  
54    public void setDescription( String description )
55    {
56      this.description = description;
57    }
58  
59    public Date getCreatedDat()
60    {
61      return createdDat;
62    }
63  
64    public Date getChangedDat()
65    {
66      return changedDat;
67    }
68  
69    public void setChangedDat( Date changedDat )
70    {
71      this.changedDat = changedDat;
72    }
73  
74    public void setCreatedDat( Date createdDat )
75    {
76      this.createdDat = createdDat;
77    }
78  }
79