1 package ch.ige.edossier.transfer.vo;
2
3 import java.io.Serializable;
4 import java.sql.Date;
5 import java.util.ArrayList;
6 import java.util.List;
7 import ch.ige.edossier.web.vo.ImageVO;
8
9
17 public class SchutitVO implements Serializable
18 {
19 public int schutitKey = 0;
21 public String gesuchNr = "";
22 public String schutitNr = "";
23 public int sprache = 0;
24 public String beschreibung = "";
25 public Date schutzBegin = null;
26 public String ihrZeichen = "";
27
28 public int marTyp = 0;
30
31 public String farbAnspr = "";
33
34 public ImageVO imageVO;
36
37 public List alRegAdrVO = new ArrayList();
39
40 public List alPrioritaetVO = new ArrayList();
42
43 public List alMarart = new ArrayList();
45
46
50 public String toString()
51 {
52 StringBuffer buf = new StringBuffer();
53 StringBuffer tmp = new StringBuffer();
54
55 buf.append( " schutitKey = <" + this.schutitKey + "> \n" );
56 buf.append( " gesuchNr = <" + this.gesuchNr + "> \n" );
57 buf.append( " schutitNr = <" + this.schutitNr + "> \n" );
58 buf.append( " sprache = <" + this.sprache + "> \n" );
59 buf.append( " beschreibung = <" + this.beschreibung + "> \n" );
60
61 if( schutzBegin == null )
62 {
63 buf.append( " schutzBegin = null \n" );
64 }
65 else
66 {
67 buf.append( " schutzBegin = <" + this.schutzBegin + ">\n" );
68
69 }
70 buf.append( " ihrZeichen = <" + this.ihrZeichen + "> \n" );
71 buf.append( " marTyp = <" + this.marTyp + "> \n" );
72 buf.append( " farbAnspr = <" + this.farbAnspr + "> \n" );
73
74 if( alRegAdrVO == null || alRegAdrVO.size() == 0 )
76 {
77 buf.append( " alRegAdrVO = <keine>\n" );
78 }
79 else
80 {
81 tmp = new StringBuffer();
82
83 for( int i = 0; i < alRegAdrVO.size(); i++ )
84 {
85 tmp.append( alRegAdrVO.get( i ).toString() + "\n" );
86 }
87 buf.append( " alRegAdrVO \n" + tmp.toString() );
88 }
89
90 if( alPrioritaetVO == null || alPrioritaetVO.size() == 0 )
92 {
93 buf.append( " alPrioritaetVO = <keine>\n" );
94 }
95 else
96 {
97 tmp = new StringBuffer();
98
99 for( int i = 0; i < alPrioritaetVO.size(); i++ )
100 {
101 tmp.append( alPrioritaetVO.get( i ).toString() + "\n" );
102 }
103 buf.append( " alPrioritaetVO \n" + tmp.toString() );
104 }
105
106 if( alMarart == null || alMarart.size() == 0 )
108 {
109 buf.append( " alMarart = <keine>\n" );
110 }
111 else
112 {
113 tmp = new StringBuffer();
114
115 for( int i = 0; i < alMarart.size(); i++ )
116 {
117 tmp.append( alMarart.get( i ).toString() + "\n" );
118 }
119 buf.append( " alMarart \n" + tmp.toString() );
120 }
121
122 return buf.toString();
123 }
124 }
125