KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > config > schema > MockSystem


1 /**
2  * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
3  * notice. All rights reserved.
4  */

5 package com.tc.config.schema;
6
7 import org.apache.xmlbeans.XmlBoolean;
8
9 import com.terracottatech.config.ConfigurationModel;
10 import com.terracottatech.config.License;
11 import com.terracottatech.config.System;
12 import com.terracottatech.config.ConfigurationModel.Enum;
13
14 /**
15  * A mock {@link System}, for use in tests.
16  */

17 public class MockSystem extends MockXmlObject implements System JavaDoc {
18
19   public MockSystem() {
20     super();
21   }
22
23   public boolean isSetDsoEnabled() {
24     return false;
25   }
26
27   public boolean isSetJdbcEnabled() {
28     return false;
29   }
30
31   public boolean isSetHttpEnabled() {
32     return false;
33   }
34
35   public boolean isSetJmxEnabled() {
36     return false;
37   }
38
39   public boolean isSetJmxHttpEnabled() {
40     return false;
41   }
42
43   public void unsetDsoEnabled() {
44     // nothing here
45
}
46
47   public void unsetJdbcEnabled() {
48     // nothing here
49
}
50
51   public void unsetHttpEnabled() {
52     // nothing here
53
}
54
55   public void unsetJmxEnabled() {
56     // nothing here
57
}
58
59   public void unsetJmxHttpEnabled() {
60     // nothing here
61
}
62
63   public boolean getJdbcEnabled() {
64     return false;
65   }
66
67   public XmlBoolean xgetJdbcEnabled() {
68     return null;
69   }
70
71   public void setJdbcEnabled(boolean arg0) {
72     // nothing here
73
}
74
75   public void xsetJdbcEnabled(XmlBoolean arg0) {
76     // nothing here
77
}
78
79   public boolean getDsoEnabled() {
80     return false;
81   }
82
83   public XmlBoolean xgetDsoEnabled() {
84     return null;
85   }
86
87   public void setDsoEnabled(boolean arg0) {
88     // nothing here
89
}
90
91   public void xsetDsoEnabled(XmlBoolean arg0) {
92     // nothing here
93
}
94
95   public License getLicense() {
96     return null;
97   }
98
99   public boolean isSetLicense() {
100     return false;
101   }
102
103   public void setLicense(License arg0) {
104     // nothing here
105
}
106
107   public License addNewLicense() {
108     return null;
109   }
110
111   public void unsetLicense() {
112     // nothing here
113
}
114
115   public Enum JavaDoc getConfigurationModel() {
116     return null;
117   }
118
119   public ConfigurationModel xgetConfigurationModel() {
120     return null;
121   }
122
123   public boolean isSetConfigurationModel() {
124     return false;
125   }
126
127   public void setConfigurationModel(Enum JavaDoc arg0) {
128     // nothing here
129
}
130
131   public void xsetConfigurationModel(ConfigurationModel arg0) {
132     // nothing here
133
}
134
135   public void unsetConfigurationModel() {
136     // nothing here
137
}
138
139   public boolean getHttpEnabled() {
140     return false;
141   }
142
143   public boolean getJmxEnabled() {
144     return false;
145   }
146
147   public boolean getJmxHttpEnabled() {
148     return false;
149   }
150
151   public void setHttpEnabled(boolean arg0) {
152     // nothing here
153
}
154
155   public void setJmxEnabled(boolean arg0) {
156     // nothing here
157
}
158
159   public void setJmxHttpEnabled(boolean arg0) {
160     // nothing here
161
}
162
163   public XmlBoolean xgetHttpEnabled() {
164     return null;
165   }
166
167   public XmlBoolean xgetJmxEnabled() {
168     return null;
169   }
170
171   public XmlBoolean xgetJmxHttpEnabled() {
172     return null;
173   }
174
175   public void xsetHttpEnabled(XmlBoolean arg0) {
176     // nothing here
177
}
178
179   public void xsetJmxEnabled(XmlBoolean arg0) {
180     // nothing here
181
}
182
183   public void xsetJmxHttpEnabled(XmlBoolean arg0) {
184     // nothing here
185
}
186
187 }
188
Popular Tags