KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > trading > impl > ImportAttrib


1
2 // Copyright (C) 1998-1999
3
// Object Oriented Concepts, Inc.
4

5 // **********************************************************************
6
//
7
// Copyright (c) 1997
8
// Mark Spruiell (mark@intellisoft.com)
9
//
10
// See the COPYING file for more information
11
//
12
// **********************************************************************
13

14 /*
15  * $Log: ImportAttrib.java,v $
16  * Revision 1.6 2002/03/19 09:25:46 nicolas
17  * updated copyright to 2002
18  *
19  * Revision 1.5 2002/03/27 12:09:40 noffke
20  * rollback to 1998-1999
21  *
22  * Revision 1.4 2002/03/27 12:01:45 noffke
23  * updated copyright header to 2002
24  *
25  * Revision 1.3 2002/03/19 11:10:03 brose
26  * *** empty log message ***
27  *
28  * Revision 1.2 2002/03/17 18:45:24 brose
29  * *** empty log message ***
30  *
31  * Revision 1.4 1999/11/25 16:08:15 brose
32  * cosmetics
33  *
34  * Revision 1.3 1999/11/08 08:11:48 brose
35  * *** empty log message ***
36  *
37  * Revision 1.2 1999/11/03 18:04:02 brose
38  * *** empty log message ***
39  *
40  * Revision 1.1 1999-10-06 12:06:06+02 brose
41  * *** empty log message ***
42  *
43  * Revision 1.2 1999-10-05 16:08:31+02 brose
44  * New directory structure for trading service
45  *
46  * Revision 1.1.1.1 1999-08-05 12:22:54+02 brose
47  * First initial preliminary ... attempt
48  *
49  * Revision 1.2 1999-08-05 11:28:44+02 brose
50  * *** empty log message ***
51  *
52  */

53
54 package org.jacorb.trading.impl;
55
56 import org.omg.CosTrading.*;
57
58 /**
59  * Manages the trader's import attributes
60  */

61 public class ImportAttrib
62 {
63   private int m_defSearchCard;
64   private int m_maxSearchCard;
65   private int m_defMatchCard;
66   private int m_maxMatchCard;
67   private int m_defReturnCard;
68   private int m_maxReturnCard;
69   private int m_maxList;
70   private int m_defHopCount;
71   private int m_maxHopCount;
72   private FollowOption m_defFollowPolicy;
73   private FollowOption m_maxFollowPolicy;
74
75
76   public synchronized int getDefSearchCard()
77   {
78     return m_defSearchCard;
79   }
80
81
82   public synchronized int setDefSearchCard(int value)
83   {
84     int result = m_defSearchCard;
85     m_defSearchCard = value;
86     return result;
87   }
88
89
90   public synchronized int getMaxSearchCard()
91   {
92     return m_maxSearchCard;
93   }
94
95
96   public synchronized int setMaxSearchCard(int value)
97   {
98     int result = m_maxSearchCard;
99     m_maxSearchCard = value;
100     return result;
101   }
102
103
104   public synchronized int getDefMatchCard()
105   {
106     return m_defMatchCard;
107   }
108
109
110   public synchronized int setDefMatchCard(int value)
111   {
112     int result = m_defMatchCard;
113     m_defMatchCard = value;
114     return result;
115   }
116
117
118   public synchronized int getMaxMatchCard()
119   {
120     return m_maxMatchCard;
121   }
122
123
124   public synchronized int setMaxMatchCard(int value)
125   {
126     int result = m_maxMatchCard;
127     m_maxMatchCard = value;
128     return result;
129   }
130
131
132   public synchronized int getDefReturnCard()
133   {
134     return m_defReturnCard;
135   }
136
137
138   public synchronized int setDefReturnCard(int value)
139   {
140     int result = m_defReturnCard;
141     m_defReturnCard = value;
142     return result;
143   }
144
145
146   public synchronized int getMaxReturnCard()
147   {
148     return m_maxReturnCard;
149   }
150
151
152   public synchronized int setMaxReturnCard(int value)
153   {
154     int result = m_maxReturnCard;
155     m_maxReturnCard = value;
156     return result;
157   }
158
159
160   public synchronized int getMaxList()
161   {
162     return m_maxList;
163   }
164
165
166   public synchronized int setMaxList(int value)
167   {
168     int result = m_maxList;
169     m_maxList = value;
170     return result;
171   }
172
173
174   public synchronized int getDefHopCount()
175   {
176     return m_defHopCount;
177   }
178
179
180   public synchronized int setDefHopCount(int value)
181   {
182     int result = m_defHopCount;
183     m_defHopCount = value;
184     return result;
185   }
186
187
188   public synchronized int getMaxHopCount()
189   {
190     return m_maxHopCount;
191   }
192
193
194   public synchronized int setMaxHopCount(int value)
195   {
196     int result = m_maxHopCount;
197     m_maxHopCount = value;
198     return result;
199   }
200
201
202   public synchronized FollowOption getDefFollowPolicy()
203   {
204     return m_defFollowPolicy;
205   }
206
207
208   public synchronized FollowOption setDefFollowPolicy(FollowOption value)
209   {
210     FollowOption result = m_defFollowPolicy;
211     m_defFollowPolicy = value;
212     return result;
213   }
214
215
216   public synchronized FollowOption getMaxFollowPolicy()
217   {
218     return m_maxFollowPolicy;
219   }
220
221
222   public synchronized FollowOption setMaxFollowPolicy(FollowOption value)
223   {
224     FollowOption result = m_maxFollowPolicy;
225     m_maxFollowPolicy = value;
226     return result;
227   }
228 }
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
Popular Tags