KickJava   Java API By Example, From Geeks To Geeks.

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


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 package org.jacorb.trading.impl;
15
16 import org.omg.CORBA.*;
17
18
19 /**
20  * Manages the trader's support attributes
21  */

22 public class SupportAttrib
23 {
24   private boolean m_modifiableProperties;
25   private boolean m_dynamicProperties;
26   private boolean m_proxyOffers;
27   private org.omg.CORBA.Object JavaDoc m_typeRepos;
28
29
30   public synchronized boolean getModifiableProperties()
31   {
32     return m_modifiableProperties;
33   }
34
35
36   public synchronized boolean setModifiableProperties(boolean value)
37   {
38     boolean result = m_modifiableProperties;
39     m_modifiableProperties = value;
40     return result;
41   }
42
43
44   public synchronized boolean getDynamicProperties()
45   {
46     return m_dynamicProperties;
47   }
48
49
50   public synchronized boolean setDynamicProperties(boolean value)
51   {
52     boolean result = m_dynamicProperties;
53     m_dynamicProperties = value;
54     return result;
55   }
56
57
58   public synchronized boolean getProxyOffers()
59   {
60     return m_proxyOffers;
61   }
62
63
64   public synchronized boolean setProxyOffers(boolean value)
65   {
66     boolean result = m_proxyOffers;
67     m_proxyOffers = value;
68     return result;
69   }
70
71
72   public synchronized org.omg.CORBA.Object JavaDoc getTypeRepos()
73   {
74     return m_typeRepos;
75   }
76
77
78   public synchronized org.omg.CORBA.Object JavaDoc setTypeRepos(
79     org.omg.CORBA.Object JavaDoc value)
80   {
81     org.omg.CORBA.Object JavaDoc result = m_typeRepos;
82     m_typeRepos = value;
83     return result;
84   }
85 }
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Popular Tags