1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package test.de.smartics.properties.spi.config.proxy.examples;
17
18 import java.beans.PropertyChangeListener;
19
20 import de.smartics.properties.api.config.domain.ConfigurationValidationException;
21 import de.smartics.properties.api.config.domain.Property;
22 import de.smartics.properties.api.config.domain.ResolvedProperty;
23 import de.smartics.properties.api.config.domain.SerializableConfigurationProperties;
24 import de.smartics.properties.api.config.domain.UnknownPropertyException;
25 import de.smartics.properties.api.config.domain.key.ConfigurationKey;
26 import de.smartics.properties.api.core.domain.PropertiesContext;
27 import de.smartics.properties.api.core.domain.PropertyContext;
28 import de.smartics.properties.api.core.domain.PropertyDescriptor;
29 import de.smartics.properties.api.core.domain.PropertyKey;
30 import de.smartics.properties.api.core.domain.PropertyValidationException;
31 import de.smartics.properties.api.core.domain.PropertyValueConversionException;
32
33
34
35
36 public class TestSerializableConfigurationProperties implements
37 SerializableConfigurationProperties
38 {
39
40
41
42
43 private static final long serialVersionUID = 1L;
44
45
46
47
48 private Object param1;
49
50
51
52
53
54
55 public TestSerializableConfigurationProperties(final String param1)
56 {
57 this.param1 = param1;
58 }
59
60 @Override
61 public final ConfigurationKey getKey()
62 {
63 param1 = param1 + "a";
64 return null;
65 }
66
67 @Override
68 public final PropertiesContext getContext(final Class<?> declaringType)
69 throws NullPointerException
70 {
71 return null;
72 }
73
74 @Override
75 public final PropertyContext getContext(final PropertyDescriptor descriptor)
76 throws NullPointerException
77 {
78 return null;
79 }
80
81 @Override
82 public final <T> T getProperties(final Class<T> propertiesInterface)
83 {
84 return null;
85 }
86
87 @Override
88 public final Object getPropertyValue(final PropertyDescriptor descriptor)
89 throws NullPointerException, PropertyValidationException
90 {
91 return null;
92 }
93
94 @Override
95 public final Object getPropertyValue(final String key)
96 throws IllegalArgumentException, UnknownPropertyException,
97 PropertyValidationException
98 {
99 return null;
100 }
101
102 @Override
103 public final Object getPropertyValue(final PropertyKey key)
104 throws IllegalArgumentException, UnknownPropertyException,
105 PropertyValidationException
106 {
107 return null;
108 }
109
110 @Override
111 public final Object getPropertyValue(final PropertyDescriptor descriptor,
112 final Object defaultValue) throws NullPointerException,
113 PropertyValueConversionException, PropertyValidationException,
114 UnknownPropertyException
115 {
116 return null;
117 }
118
119 @Override
120 public final Object getPropertyValue(final String key,
121 final Object defaultValue) throws IllegalArgumentException,
122 UnknownPropertyException, PropertyValidationException
123 {
124 return null;
125 }
126
127 @Override
128 public final ResolvedProperty getResolvedProperty(
129 final PropertyDescriptor descriptor, final Object defaultValue)
130 throws IllegalArgumentException, UnknownPropertyException,
131 PropertyValidationException
132 {
133 return null;
134 }
135
136 @Override
137 public final ResolvedProperty getResolvedProperty(final PropertyKey key,
138 final Object defaultValue) throws IllegalArgumentException,
139 UnknownPropertyException, PropertyValidationException
140 {
141 return null;
142 }
143
144 @Override
145 public final ResolvedProperty getResolvedProperty(final String key,
146 final Object defaultValue) throws IllegalArgumentException,
147 UnknownPropertyException, PropertyValidationException
148 {
149 return null;
150 }
151
152 @Override
153 public final String getPropertyValueAsString(
154 final PropertyDescriptor descriptor) throws NullPointerException,
155 PropertyValidationException
156 {
157 return null;
158 }
159
160 @Override
161 public final String getPropertyValueAsString(final String key)
162 throws IllegalArgumentException, UnknownPropertyException,
163 PropertyValidationException
164 {
165 return null;
166 }
167
168 @Override
169 public final String getPropertyValueAsString(
170 final PropertyDescriptor descriptor, final Object defaultValue)
171 throws NullPointerException, PropertyValidationException
172 {
173 return null;
174 }
175
176 @Override
177 public final String getPropertyValueAsString(final String key,
178 final Object defaultValue) throws IllegalArgumentException,
179 UnknownPropertyException, PropertyValidationException
180 {
181 return null;
182 }
183
184 @Override
185 public void validate() throws ConfigurationValidationException
186 {
187 }
188
189 @Override
190 public void validate(final boolean lenient)
191 throws ConfigurationValidationException
192 {
193 }
194
195 @Override
196 public void addPropertyChangeListener(final PropertyKey name,
197 final PropertyChangeListener listener) throws NullPointerException
198 {
199 }
200
201 @Override
202 public void removePropertyChangeListener(final PropertyKey name,
203 final PropertyChangeListener listener) throws NullPointerException
204 {
205 }
206
207 @Override
208 public void addPropertyChangeListener(final PropertyChangeListener listener)
209 throws NullPointerException
210 {
211 }
212
213 @Override
214 public void removePropertyChangeListener(final PropertyChangeListener listener)
215 throws NullPointerException
216 {
217 }
218
219 @Override
220 public final SerializableConfigurationProperties toSerializable()
221 {
222 return null;
223 }
224
225 @Override
226 public Property getProperty(final String key)
227 throws IllegalArgumentException, UnknownPropertyException
228 {
229 return null;
230 }
231
232 @Override
233 public Property getProperty(final String key, final Object defaultValue)
234 throws IllegalArgumentException, UnknownPropertyException
235 {
236 return null;
237 }
238
239 @Override
240 public Property getProperty(final PropertyKey key)
241 throws IllegalArgumentException, UnknownPropertyException
242 {
243 return null;
244 }
245
246 @Override
247 public Property getProperty(final PropertyDescriptor descriptor)
248 throws IllegalArgumentException, UnknownPropertyException
249 {
250 return null;
251 }
252
253 @Override
254 public Property getProperty(final PropertyDescriptor descriptor,
255 final Object defaultValue) throws IllegalArgumentException,
256 UnknownPropertyException
257 {
258 return null;
259 }
260 }