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 PRIORITY
9    * <p>
10   * Copyright (c) 2004, Eidgenössisches Institut für Geistiges Eigentum
11   * @author    Anita Rueegsegger, Marc Bouquet
12   * @version   $Id: PriorityVO.java,v 1.5 2004/10/22 01:58:20 bouquet Exp $
13   */
14  public class PriorityVO implements Serializable
15  {
16    private int priorityId = 0;
17    private int dossierId = 0;
18    private String countryCd = null;
19    private Date prioDat = null;
20    private Date createdDat = null;
21    private Date changedDat = null;
22  
23    /**
24     * Gibt den Inhalt des ValueObject AccountVO zurück
25     * @return Inhalt von AccountVO
26     */
27    public String toString()
28    {
29      StringBuffer buf = new StringBuffer();
30  
31      buf.append( " priorityId      = <" + this.priorityId + ">\n" );
32      buf.append( " dossierId       = <" + this.dossierId + ">\n" );
33      buf.append( " countryCd       = <" + this.countryCd + ">\n" );
34      buf.append( " prioDat         = <" + this.prioDat + ">\n" );
35      buf.append( " createdDat      = <" + this.createdDat + "> \n" );
36      buf.append( " changedDat      = <" + this.changedDat + "> \n" );
37  
38      return buf.toString();
39    }
40  
41    /*******************************************************************************************************************
42       G E T T E R - / S E T T E R - M E T H O D E N
43     *******************************************************************************************************************/
44  
45    public int getPriorityId()
46    {
47      return priorityId;
48    }
49  
50    public void setPriorityId( int priorityId )
51    {
52      this.priorityId = priorityId;
53    }
54  
55    public int getDossierId()
56    {
57      return dossierId;
58    }
59  
60    public void setDossierId( int dossierId )
61    {
62      this.dossierId = dossierId;
63    }
64  
65    public Date getPrioDat()
66    {
67      return prioDat;
68    }
69  
70    public void setPrioDat( Date prioDat )
71    {
72      this.prioDat = prioDat;
73    }
74  
75    public String getCountryCd()
76    {
77      return countryCd;
78    }
79  
80    public void setCountryCd( String countryCd )
81    {
82      this.countryCd = countryCd;
83    }
84  
85    public Date getCreatedDat()
86    {
87      return createdDat;
88    }
89  
90    public Date getChangedDat()
91    {
92      return changedDat;
93    }
94  
95    public void setChangedDat( Date changedDat )
96    {
97      this.changedDat = changedDat;
98    }
99  
100   public void setCreatedDat( Date createdDat )
101   {
102     this.createdDat = createdDat;
103   }
104 }
105