a whole bunch of stuff
[ephemerata.git] / KezvhLib / lib / org.apache.commons.collections / apidocs / org / apache / commons / collections / BeanMap.html
blob4dd3d051864f40bff445d2b08bde14c4931c9f86
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.5.0_07) on Fri Apr 11 15:39:16 BST 2008 -->
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
7 <TITLE>
8 BeanMap (Commons Collections 3.2.1 API)
9 </TITLE>
11 <META NAME="keywords" CONTENT="org.apache.commons.collections.BeanMap class">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 parent.document.title="BeanMap (Commons Collections 3.2.1 API)";
20 </SCRIPT>
21 <NOSCRIPT>
22 </NOSCRIPT>
24 </HEAD>
26 <BODY BGCOLOR="white" onload="windowTitle();">
29 <!-- ========= START OF TOP NAVBAR ======= -->
30 <A NAME="navbar_top"><!-- --></A>
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
33 <TR>
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
35 <A NAME="navbar_top_firstrow"><!-- --></A>
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
37 <TR ALIGN="center" VALIGN="top">
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
46 </TR>
47 </TABLE>
48 </TD>
49 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
50 </EM>
51 </TD>
52 </TR>
54 <TR>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 &nbsp;<A HREF="../../../../org/apache/commons/collections/BagUtils.html" title="class in org.apache.commons.collections"><B>PREV CLASS</B></A>&nbsp;
57 &nbsp;<A HREF="../../../../org/apache/commons/collections/BeanMap.MyMapEntry.html" title="class in org.apache.commons.collections"><B>NEXT CLASS</B></A></FONT></TD>
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 <A HREF="../../../../index.html?org/apache/commons/collections/BeanMap.html" target="_top"><B>FRAMES</B></A> &nbsp;
60 &nbsp;<A HREF="BeanMap.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
61 &nbsp;<SCRIPT type="text/javascript">
62 <!--
63 if(window==top) {
64 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66 //-->
67 </SCRIPT>
68 <NOSCRIPT>
69 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
70 </NOSCRIPT>
73 </FONT></TD>
74 </TR>
75 <TR>
76 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
80 </TR>
81 </TABLE>
82 <A NAME="skip-navbar_top"></A>
83 <!-- ========= END OF TOP NAVBAR ========= -->
85 <HR>
86 <!-- ======== START OF CLASS DATA ======== -->
87 <H2>
88 <FONT SIZE="-1">
89 org.apache.commons.collections</FONT>
90 <BR>
91 Class BeanMap</H2>
92 <PRE>
93 java.lang.Object
94 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by ">java.util.AbstractMap
95 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.collections.BeanMap</B>
96 </PRE>
97 <DL>
98 <DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, java.util.Map</DD>
99 </DL>
100 <HR>
101 <B>Deprecated.</B>&nbsp;<I>Identical class now available in commons-beanutils (full jar version).
102 This version is due to be removed in collections v4.0.</I>
104 <DL>
105 <DT><PRE>public class <B>BeanMap</B><DT>extends java.util.AbstractMap<DT>implements java.lang.Cloneable</DL>
106 </PRE>
109 An implementation of Map for JavaBeans which uses introspection to
110 get and put properties in the bean.
112 If an exception occurs during attempts to get or set a property then the
113 property is considered non existent in the Map
117 <DL>
118 <DT><B>Since:</B></DT>
119 <DD>Commons Collections 1.0</DD>
120 <DT><B>Version:</B></DT>
121 <DD>$Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $</DD>
122 <DT><B>Author:</B></DT>
123 <DD>James Strachan, Stephen Colebourne, Dimiter Dimitrov</DD>
124 </DL>
125 <HR>
128 <!-- ======== NESTED CLASS SUMMARY ======== -->
130 <A NAME="nested_class_summary"><!-- --></A>
131 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
132 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
133 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
134 <B>Nested Class Summary</B></FONT></TH>
135 </TR>
136 <TR BGCOLOR="white" CLASS="TableRowColor">
137 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138 <CODE>protected static&nbsp;class</CODE></FONT></TD>
139 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.MyMapEntry.html" title="class in org.apache.commons.collections">BeanMap.MyMapEntry</A></B></CODE>
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Map entry used by <A HREF="../../../../org/apache/commons/collections/BeanMap.html" title="class in org.apache.commons.collections"><CODE>BeanMap</CODE></A>.</TD>
143 </TR>
144 </TABLE>
145 &nbsp;<A NAME="nested_classes_inherited_from_class_java.util.Map"><!-- --></A>
146 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
148 <TH ALIGN="left"><B>Nested classes/interfaces inherited from interface java.util.Map</B></TH>
149 </TR>
150 <TR BGCOLOR="white" CLASS="TableRowColor">
151 <TD><CODE>java.util.Map.Entry</CODE></TD>
152 </TR>
153 </TABLE>
154 &nbsp;
155 <!-- =========== FIELD SUMMARY =========== -->
157 <A NAME="field_summary"><!-- --></A>
158 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
159 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
161 <B>Field Summary</B></FONT></TH>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE>static&nbsp;java.util.HashMap</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#defaultTransformers">defaultTransformers</A></B></CODE>
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Maps primitive Class types to transformers.</TD>
170 </TR>
171 <TR BGCOLOR="white" CLASS="TableRowColor">
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173 <CODE>static&nbsp;java.lang.Object[]</CODE></FONT></TD>
174 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#NULL_ARGUMENTS">NULL_ARGUMENTS</A></B></CODE>
176 <BR>
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;An empty array.</TD>
178 </TR>
179 </TABLE>
180 &nbsp;
181 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
183 <A NAME="constructor_summary"><!-- --></A>
184 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
187 <B>Constructor Summary</B></FONT></TH>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#BeanMap()">BeanMap</A></B>()</CODE>
192 <BR>
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructs a new empty <code>BeanMap</code>.</TD>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#BeanMap(java.lang.Object)">BeanMap</A></B>(java.lang.Object&nbsp;bean)</CODE>
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Constructs a new <code>BeanMap</code> that operates on the
200 specified bean.</TD>
201 </TR>
202 </TABLE>
203 &nbsp;
204 <!-- ========== METHOD SUMMARY =========== -->
206 <A NAME="method_summary"><!-- --></A>
207 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
210 <B>Method Summary</B></FONT></TH>
211 </TR>
212 <TR BGCOLOR="white" CLASS="TableRowColor">
213 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214 <CODE>&nbsp;void</CODE></FONT></TD>
215 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#clear()">clear</A></B>()</CODE>
217 <BR>
218 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;This method reinitializes the bean map to have default values for the
219 bean's properties.</TD>
220 </TR>
221 <TR BGCOLOR="white" CLASS="TableRowColor">
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
224 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#clone()">clone</A></B>()</CODE>
226 <BR>
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Clone this bean map using the following process:
230 If there is no underlying bean, return a cloned BeanMap without a
231 bean.</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;boolean</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#containsKey(java.lang.Object)">containsKey</A></B>(java.lang.Object&nbsp;name)</CODE>
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns true if the bean defines a property with the given name.</TD>
240 </TR>
241 <TR BGCOLOR="white" CLASS="TableRowColor">
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243 <CODE>&nbsp;boolean</CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#containsValue(java.lang.Object)">containsValue</A></B>(java.lang.Object&nbsp;value)</CODE>
246 <BR>
247 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns true if the bean defines a property whose current value is
248 the given object.</TD>
249 </TR>
250 <TR BGCOLOR="white" CLASS="TableRowColor">
251 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252 <CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
253 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#convertType(java.lang.Class, java.lang.Object)">convertType</A></B>(java.lang.Class&nbsp;newType,
254 java.lang.Object&nbsp;value)</CODE>
256 <BR>
257 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Converts the given value to the given type.</TD>
258 </TR>
259 <TR BGCOLOR="white" CLASS="TableRowColor">
260 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261 <CODE>protected &nbsp;java.lang.Object[]</CODE></FONT></TD>
262 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#createWriteMethodArguments(java.lang.reflect.Method, java.lang.Object)">createWriteMethodArguments</A></B>(java.lang.reflect.Method&nbsp;method,
263 java.lang.Object&nbsp;value)</CODE>
265 <BR>
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates an array of parameters to pass to the given mutator method.</TD>
267 </TR>
268 <TR BGCOLOR="white" CLASS="TableRowColor">
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
271 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#entryIterator()">entryIterator</A></B>()</CODE>
273 <BR>
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Convenience method for getting an iterator over the entries.</TD>
275 </TR>
276 <TR BGCOLOR="white" CLASS="TableRowColor">
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278 <CODE>&nbsp;java.util.Set</CODE></FONT></TD>
279 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#entrySet()">entrySet</A></B>()</CODE>
281 <BR>
282 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Gets a Set of MapEntry objects that are the mappings for this BeanMap.</TD>
283 </TR>
284 <TR BGCOLOR="white" CLASS="TableRowColor">
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286 <CODE>protected &nbsp;void</CODE></FONT></TD>
287 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#firePropertyChange(java.lang.Object, java.lang.Object, java.lang.Object)">firePropertyChange</A></B>(java.lang.Object&nbsp;key,
288 java.lang.Object&nbsp;oldValue,
289 java.lang.Object&nbsp;newValue)</CODE>
291 <BR>
292 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Called during a successful <A HREF="../../../../org/apache/commons/collections/BeanMap.html#put(java.lang.Object, java.lang.Object)"><CODE>put(Object,Object)</CODE></A> operation.</TD>
293 </TR>
294 <TR BGCOLOR="white" CLASS="TableRowColor">
295 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
296 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
297 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#get(java.lang.Object)">get</A></B>(java.lang.Object&nbsp;name)</CODE>
299 <BR>
300 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the value of the bean's property with the given name.</TD>
301 </TR>
302 <TR BGCOLOR="white" CLASS="TableRowColor">
303 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
304 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
305 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getBean()">getBean</A></B>()</CODE>
307 <BR>
308 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the bean currently being operated on.</TD>
309 </TR>
310 <TR BGCOLOR="white" CLASS="TableRowColor">
311 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312 <CODE>protected &nbsp;java.lang.reflect.Method</CODE></FONT></TD>
313 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getReadMethod(java.lang.Object)">getReadMethod</A></B>(java.lang.Object&nbsp;name)</CODE>
315 <BR>
316 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the accessor for the property with the given name.</TD>
317 </TR>
318 <TR BGCOLOR="white" CLASS="TableRowColor">
319 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320 <CODE>&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
321 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getReadMethod(java.lang.String)">getReadMethod</A></B>(java.lang.String&nbsp;name)</CODE>
323 <BR>
324 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the accessor for the property with the given name.</TD>
325 </TR>
326 <TR BGCOLOR="white" CLASS="TableRowColor">
327 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328 <CODE>&nbsp;java.lang.Class</CODE></FONT></TD>
329 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getType(java.lang.String)">getType</A></B>(java.lang.String&nbsp;name)</CODE>
331 <BR>
332 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the type of the property with the given name.</TD>
333 </TR>
334 <TR BGCOLOR="white" CLASS="TableRowColor">
335 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336 <CODE>protected &nbsp;<A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A></CODE></FONT></TD>
337 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getTypeTransformer(java.lang.Class)">getTypeTransformer</A></B>(java.lang.Class&nbsp;aType)</CODE>
339 <BR>
340 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a transformer for the given primitive type.</TD>
341 </TR>
342 <TR BGCOLOR="white" CLASS="TableRowColor">
343 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344 <CODE>protected &nbsp;java.lang.reflect.Method</CODE></FONT></TD>
345 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getWriteMethod(java.lang.Object)">getWriteMethod</A></B>(java.lang.Object&nbsp;name)</CODE>
347 <BR>
348 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the mutator for the property with the given name.</TD>
349 </TR>
350 <TR BGCOLOR="white" CLASS="TableRowColor">
351 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352 <CODE>&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
353 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#getWriteMethod(java.lang.String)">getWriteMethod</A></B>(java.lang.String&nbsp;name)</CODE>
355 <BR>
356 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the mutator for the property with the given name.</TD>
357 </TR>
358 <TR BGCOLOR="white" CLASS="TableRowColor">
359 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
361 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#keyIterator()">keyIterator</A></B>()</CODE>
363 <BR>
364 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Convenience method for getting an iterator over the keys.</TD>
365 </TR>
366 <TR BGCOLOR="white" CLASS="TableRowColor">
367 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368 <CODE>&nbsp;java.util.Set</CODE></FONT></TD>
369 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#keySet()">keySet</A></B>()</CODE>
371 <BR>
372 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Get the keys for this BeanMap.</TD>
373 </TR>
374 <TR BGCOLOR="white" CLASS="TableRowColor">
375 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
376 <CODE>protected &nbsp;void</CODE></FONT></TD>
377 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#logInfo(java.lang.Exception)">logInfo</A></B>(java.lang.Exception&nbsp;ex)</CODE>
379 <BR>
380 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Logs the given exception to <code>System.out</code>.</TD>
381 </TR>
382 <TR BGCOLOR="white" CLASS="TableRowColor">
383 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
384 <CODE>protected &nbsp;void</CODE></FONT></TD>
385 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#logWarn(java.lang.Exception)">logWarn</A></B>(java.lang.Exception&nbsp;ex)</CODE>
387 <BR>
388 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Logs the given exception to <code>System.err</code>.</TD>
389 </TR>
390 <TR BGCOLOR="white" CLASS="TableRowColor">
391 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
392 <CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
393 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#put(java.lang.Object, java.lang.Object)">put</A></B>(java.lang.Object&nbsp;name,
394 java.lang.Object&nbsp;value)</CODE>
396 <BR>
397 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Sets the bean property with the given name to the given value.</TD>
398 </TR>
399 <TR BGCOLOR="white" CLASS="TableRowColor">
400 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
401 <CODE>&nbsp;void</CODE></FONT></TD>
402 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#putAllWriteable(org.apache.commons.collections.BeanMap)">putAllWriteable</A></B>(<A HREF="../../../../org/apache/commons/collections/BeanMap.html" title="class in org.apache.commons.collections">BeanMap</A>&nbsp;map)</CODE>
404 <BR>
405 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Puts all of the writable properties from the given BeanMap into this
406 BeanMap.</TD>
407 </TR>
408 <TR BGCOLOR="white" CLASS="TableRowColor">
409 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
410 <CODE>protected &nbsp;void</CODE></FONT></TD>
411 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#reinitialise()">reinitialise</A></B>()</CODE>
413 <BR>
414 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Reinitializes this bean.</TD>
415 </TR>
416 <TR BGCOLOR="white" CLASS="TableRowColor">
417 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
418 <CODE>&nbsp;void</CODE></FONT></TD>
419 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#setBean(java.lang.Object)">setBean</A></B>(java.lang.Object&nbsp;newBean)</CODE>
421 <BR>
422 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Sets the bean to be operated on by this map.</TD>
423 </TR>
424 <TR BGCOLOR="white" CLASS="TableRowColor">
425 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
426 <CODE>&nbsp;int</CODE></FONT></TD>
427 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#size()">size</A></B>()</CODE>
429 <BR>
430 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the number of properties defined by the bean.</TD>
431 </TR>
432 <TR BGCOLOR="white" CLASS="TableRowColor">
433 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
434 <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
435 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#toString()">toString</A></B>()</CODE>
437 <BR>
438 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
439 </TR>
440 <TR BGCOLOR="white" CLASS="TableRowColor">
441 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
442 <CODE>&nbsp;java.util.Iterator</CODE></FONT></TD>
443 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#valueIterator()">valueIterator</A></B>()</CODE>
445 <BR>
446 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Convenience method for getting an iterator over the values.</TD>
447 </TR>
448 <TR BGCOLOR="white" CLASS="TableRowColor">
449 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
450 <CODE>&nbsp;java.util.Collection</CODE></FONT></TD>
451 <TD><CODE><B><A HREF="../../../../org/apache/commons/collections/BeanMap.html#values()">values</A></B>()</CODE>
453 <BR>
454 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns the values for the BeanMap.</TD>
455 </TR>
456 </TABLE>
457 &nbsp;<A NAME="methods_inherited_from_class_java.util.AbstractMap"><!-- --></A>
458 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
459 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
460 <TH ALIGN="left"><B>Methods inherited from class java.util.AbstractMap</B></TH>
461 </TR>
462 <TR BGCOLOR="white" CLASS="TableRowColor">
463 <TD><CODE>equals, hashCode, isEmpty, putAll, remove</CODE></TD>
464 </TR>
465 </TABLE>
466 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
467 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
468 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
469 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
470 </TR>
471 <TR BGCOLOR="white" CLASS="TableRowColor">
472 <TD><CODE>finalize, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
473 </TR>
474 </TABLE>
475 &nbsp;
478 <!-- ============ FIELD DETAIL =========== -->
480 <A NAME="field_detail"><!-- --></A>
481 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
482 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
483 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
484 <B>Field Detail</B></FONT></TH>
485 </TR>
486 </TABLE>
488 <A NAME="NULL_ARGUMENTS"><!-- --></A><H3>
489 NULL_ARGUMENTS</H3>
490 <PRE>
491 public static final java.lang.Object[] <B>NULL_ARGUMENTS</B></PRE>
492 <DL>
493 <DD><B>Deprecated.</B>&nbsp;<DD>An empty array. Used to invoke accessors via reflection.
495 <DL>
496 </DL>
497 </DL>
498 <HR>
500 <A NAME="defaultTransformers"><!-- --></A><H3>
501 defaultTransformers</H3>
502 <PRE>
503 public static java.util.HashMap <B>defaultTransformers</B></PRE>
504 <DL>
505 <DD><B>Deprecated.</B>&nbsp;<DD>Maps primitive Class types to transformers. The transformer
506 transform strings into the appropriate primitive wrapper.
508 <DL>
509 </DL>
510 </DL>
512 <!-- ========= CONSTRUCTOR DETAIL ======== -->
514 <A NAME="constructor_detail"><!-- --></A>
515 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
516 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
517 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
518 <B>Constructor Detail</B></FONT></TH>
519 </TR>
520 </TABLE>
522 <A NAME="BeanMap()"><!-- --></A><H3>
523 BeanMap</H3>
524 <PRE>
525 public <B>BeanMap</B>()</PRE>
526 <DL>
527 <DD><B>Deprecated.</B>&nbsp;<DD>Constructs a new empty <code>BeanMap</code>.
529 </DL>
530 <HR>
532 <A NAME="BeanMap(java.lang.Object)"><!-- --></A><H3>
533 BeanMap</H3>
534 <PRE>
535 public <B>BeanMap</B>(java.lang.Object&nbsp;bean)</PRE>
536 <DL>
537 <DD><B>Deprecated.</B>&nbsp;<DD>Constructs a new <code>BeanMap</code> that operates on the
538 specified bean. If the given bean is <code>null</code>, then
539 this map will be empty.
541 <DL>
542 <DT><B>Parameters:</B><DD><CODE>bean</CODE> - the bean for this map to operate on</DL>
543 </DL>
545 <!-- ============ METHOD DETAIL ========== -->
547 <A NAME="method_detail"><!-- --></A>
548 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
549 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
550 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
551 <B>Method Detail</B></FONT></TH>
552 </TR>
553 </TABLE>
555 <A NAME="toString()"><!-- --></A><H3>
556 toString</H3>
557 <PRE>
558 public java.lang.String <B>toString</B>()</PRE>
559 <DL>
560 <DD><B>Deprecated.</B>&nbsp;<DD><DL>
561 <DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
562 </DD>
563 <DD><DL>
564 </DL>
565 </DD>
566 </DL>
567 <HR>
569 <A NAME="clone()"><!-- --></A><H3>
570 clone</H3>
571 <PRE>
572 public java.lang.Object <B>clone</B>()
573 throws java.lang.CloneNotSupportedException</PRE>
574 <DL>
575 <DD><B>Deprecated.</B>&nbsp;<DD>Clone this bean map using the following process:
577 <ul>
578 <li>If there is no underlying bean, return a cloned BeanMap without a
579 bean.
581 <li>Since there is an underlying bean, try to instantiate a new bean of
582 the same type using Class.newInstance().
584 <li>If the instantiation fails, throw a CloneNotSupportedException
586 <li>Clone the bean map and set the newly instantiated bean as the
587 underlying bean for the bean map.
589 <li>Copy each property that is both readable and writable from the
590 existing object to a cloned bean map.
592 <li>If anything fails along the way, throw a
593 CloneNotSupportedException.
595 <ul>
597 <DD><DL>
598 <DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
599 </DD>
600 <DD><DL>
602 <DT><B>Throws:</B>
603 <DD><CODE>java.lang.CloneNotSupportedException</CODE></DL>
604 </DD>
605 </DL>
606 <HR>
608 <A NAME="putAllWriteable(org.apache.commons.collections.BeanMap)"><!-- --></A><H3>
609 putAllWriteable</H3>
610 <PRE>
611 public void <B>putAllWriteable</B>(<A HREF="../../../../org/apache/commons/collections/BeanMap.html" title="class in org.apache.commons.collections">BeanMap</A>&nbsp;map)</PRE>
612 <DL>
613 <DD><B>Deprecated.</B>&nbsp;<DD>Puts all of the writable properties from the given BeanMap into this
614 BeanMap. Read-only and Write-only properties will be ignored.
616 <DD><DL>
617 </DL>
618 </DD>
619 <DD><DL>
620 <DT><B>Parameters:</B><DD><CODE>map</CODE> - the BeanMap whose properties to put</DL>
621 </DD>
622 </DL>
623 <HR>
625 <A NAME="clear()"><!-- --></A><H3>
626 clear</H3>
627 <PRE>
628 public void <B>clear</B>()</PRE>
629 <DL>
630 <DD><B>Deprecated.</B>&nbsp;<DD>This method reinitializes the bean map to have default values for the
631 bean's properties. This is accomplished by constructing a new instance
632 of the bean which the map uses as its underlying data source. This
633 behavior for <code>clear()</code> differs from the Map contract in that
634 the mappings are not actually removed from the map (the mappings for a
635 BeanMap are fixed).
637 <DD><DL>
638 <DT><B>Specified by:</B><DD><CODE>clear</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>clear</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
639 </DD>
640 <DD><DL>
641 </DL>
642 </DD>
643 </DL>
644 <HR>
646 <A NAME="containsKey(java.lang.Object)"><!-- --></A><H3>
647 containsKey</H3>
648 <PRE>
649 public boolean <B>containsKey</B>(java.lang.Object&nbsp;name)</PRE>
650 <DL>
651 <DD><B>Deprecated.</B>&nbsp;<DD>Returns true if the bean defines a property with the given name.
653 The given name must be a <code>String</code>; if not, this method
654 returns false. This method will also return false if the bean
655 does not define a property with that name.
657 Write-only properties will not be matched as the test operates against
658 property read methods.
660 <DD><DL>
661 <DT><B>Specified by:</B><DD><CODE>containsKey</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>containsKey</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
662 </DD>
663 <DD><DL>
664 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property to check
665 <DT><B>Returns:</B><DD>false if the given name is null or is not a <code>String</code>;
666 false if the bean does not define a property with that name; or
667 true if the bean does define a property with that name</DL>
668 </DD>
669 </DL>
670 <HR>
672 <A NAME="containsValue(java.lang.Object)"><!-- --></A><H3>
673 containsValue</H3>
674 <PRE>
675 public boolean <B>containsValue</B>(java.lang.Object&nbsp;value)</PRE>
676 <DL>
677 <DD><B>Deprecated.</B>&nbsp;<DD>Returns true if the bean defines a property whose current value is
678 the given object.
680 <DD><DL>
681 <DT><B>Specified by:</B><DD><CODE>containsValue</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>containsValue</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
682 </DD>
683 <DD><DL>
684 <DT><B>Parameters:</B><DD><CODE>value</CODE> - the value to check
685 <DT><B>Returns:</B><DD>false true if the bean has at least one property whose
686 current value is that object, false otherwise</DL>
687 </DD>
688 </DL>
689 <HR>
691 <A NAME="get(java.lang.Object)"><!-- --></A><H3>
692 get</H3>
693 <PRE>
694 public java.lang.Object <B>get</B>(java.lang.Object&nbsp;name)</PRE>
695 <DL>
696 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the value of the bean's property with the given name.
698 The given name must be a <CODE>String</CODE> and must not be
699 null; otherwise, this method returns <code>null</code>.
700 If the bean defines a property with the given name, the value of
701 that property is returned. Otherwise, <code>null</code> is
702 returned.
704 Write-only properties will not be matched as the test operates against
705 property read methods.
707 <DD><DL>
708 <DT><B>Specified by:</B><DD><CODE>get</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>get</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
709 </DD>
710 <DD><DL>
711 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property whose value to return
712 <DT><B>Returns:</B><DD>the value of the property with that name</DL>
713 </DD>
714 </DL>
715 <HR>
717 <A NAME="put(java.lang.Object, java.lang.Object)"><!-- --></A><H3>
718 put</H3>
719 <PRE>
720 public java.lang.Object <B>put</B>(java.lang.Object&nbsp;name,
721 java.lang.Object&nbsp;value)
722 throws java.lang.IllegalArgumentException,
723 java.lang.ClassCastException</PRE>
724 <DL>
725 <DD><B>Deprecated.</B>&nbsp;<DD>Sets the bean property with the given name to the given value.
727 <DD><DL>
728 <DT><B>Specified by:</B><DD><CODE>put</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>put</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
729 </DD>
730 <DD><DL>
731 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property to set<DD><CODE>value</CODE> - the value to set that property to
732 <DT><B>Returns:</B><DD>the previous value of that property
733 <DT><B>Throws:</B>
734 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the given name is null;
735 if the given name is not a <CODE>String</CODE>; if the bean doesn't
736 define a property with that name; or if the bean property with
737 that name is read-only
738 <DD><CODE>java.lang.ClassCastException</CODE></DL>
739 </DD>
740 </DL>
741 <HR>
743 <A NAME="size()"><!-- --></A><H3>
744 size</H3>
745 <PRE>
746 public int <B>size</B>()</PRE>
747 <DL>
748 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the number of properties defined by the bean.
750 <DD><DL>
751 <DT><B>Specified by:</B><DD><CODE>size</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>size</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
752 </DD>
753 <DD><DL>
755 <DT><B>Returns:</B><DD>the number of properties defined by the bean</DL>
756 </DD>
757 </DL>
758 <HR>
760 <A NAME="keySet()"><!-- --></A><H3>
761 keySet</H3>
762 <PRE>
763 public java.util.Set <B>keySet</B>()</PRE>
764 <DL>
765 <DD><B>Deprecated.</B>&nbsp;<DD>Get the keys for this BeanMap.
767 Write-only properties are <b>not</b> included in the returned set of
768 property names, although it is possible to set their value and to get
769 their type.
771 <DD><DL>
772 <DT><B>Specified by:</B><DD><CODE>keySet</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>keySet</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
773 </DD>
774 <DD><DL>
776 <DT><B>Returns:</B><DD>BeanMap keys. The Set returned by this method is not
777 modifiable.</DL>
778 </DD>
779 </DL>
780 <HR>
782 <A NAME="entrySet()"><!-- --></A><H3>
783 entrySet</H3>
784 <PRE>
785 public java.util.Set <B>entrySet</B>()</PRE>
786 <DL>
787 <DD><B>Deprecated.</B>&nbsp;<DD>Gets a Set of MapEntry objects that are the mappings for this BeanMap.
789 Each MapEntry can be set but not removed.
791 <DD><DL>
792 <DT><B>Specified by:</B><DD><CODE>entrySet</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Specified by:</B><DD><CODE>entrySet</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
793 </DD>
794 <DD><DL>
796 <DT><B>Returns:</B><DD>the unmodifiable set of mappings</DL>
797 </DD>
798 </DL>
799 <HR>
801 <A NAME="values()"><!-- --></A><H3>
802 values</H3>
803 <PRE>
804 public java.util.Collection <B>values</B>()</PRE>
805 <DL>
806 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the values for the BeanMap.
808 <DD><DL>
809 <DT><B>Specified by:</B><DD><CODE>values</CODE> in interface <CODE>java.util.Map</CODE><DT><B>Overrides:</B><DD><CODE>values</CODE> in class <CODE>java.util.AbstractMap</CODE></DL>
810 </DD>
811 <DD><DL>
813 <DT><B>Returns:</B><DD>values for the BeanMap. The returned collection is not
814 modifiable.</DL>
815 </DD>
816 </DL>
817 <HR>
819 <A NAME="getType(java.lang.String)"><!-- --></A><H3>
820 getType</H3>
821 <PRE>
822 public java.lang.Class <B>getType</B>(java.lang.String&nbsp;name)</PRE>
823 <DL>
824 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the type of the property with the given name.
826 <DD><DL>
827 </DL>
828 </DD>
829 <DD><DL>
830 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property
831 <DT><B>Returns:</B><DD>the type of the property, or <code>null</code> if no such
832 property exists</DL>
833 </DD>
834 </DL>
835 <HR>
837 <A NAME="keyIterator()"><!-- --></A><H3>
838 keyIterator</H3>
839 <PRE>
840 public java.util.Iterator <B>keyIterator</B>()</PRE>
841 <DL>
842 <DD><B>Deprecated.</B>&nbsp;<DD>Convenience method for getting an iterator over the keys.
844 Write-only properties will not be returned in the iterator.
846 <DD><DL>
847 </DL>
848 </DD>
849 <DD><DL>
851 <DT><B>Returns:</B><DD>an iterator over the keys</DL>
852 </DD>
853 </DL>
854 <HR>
856 <A NAME="valueIterator()"><!-- --></A><H3>
857 valueIterator</H3>
858 <PRE>
859 public java.util.Iterator <B>valueIterator</B>()</PRE>
860 <DL>
861 <DD><B>Deprecated.</B>&nbsp;<DD>Convenience method for getting an iterator over the values.
863 <DD><DL>
864 </DL>
865 </DD>
866 <DD><DL>
868 <DT><B>Returns:</B><DD>an iterator over the values</DL>
869 </DD>
870 </DL>
871 <HR>
873 <A NAME="entryIterator()"><!-- --></A><H3>
874 entryIterator</H3>
875 <PRE>
876 public java.util.Iterator <B>entryIterator</B>()</PRE>
877 <DL>
878 <DD><B>Deprecated.</B>&nbsp;<DD>Convenience method for getting an iterator over the entries.
880 <DD><DL>
881 </DL>
882 </DD>
883 <DD><DL>
885 <DT><B>Returns:</B><DD>an iterator over the entries</DL>
886 </DD>
887 </DL>
888 <HR>
890 <A NAME="getBean()"><!-- --></A><H3>
891 getBean</H3>
892 <PRE>
893 public java.lang.Object <B>getBean</B>()</PRE>
894 <DL>
895 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the bean currently being operated on. The return value may
896 be null if this map is empty.
898 <DD><DL>
899 </DL>
900 </DD>
901 <DD><DL>
903 <DT><B>Returns:</B><DD>the bean being operated on by this map</DL>
904 </DD>
905 </DL>
906 <HR>
908 <A NAME="setBean(java.lang.Object)"><!-- --></A><H3>
909 setBean</H3>
910 <PRE>
911 public void <B>setBean</B>(java.lang.Object&nbsp;newBean)</PRE>
912 <DL>
913 <DD><B>Deprecated.</B>&nbsp;<DD>Sets the bean to be operated on by this map. The given value may
914 be null, in which case this map will be empty.
916 <DD><DL>
917 </DL>
918 </DD>
919 <DD><DL>
920 <DT><B>Parameters:</B><DD><CODE>newBean</CODE> - the new bean to operate on</DL>
921 </DD>
922 </DL>
923 <HR>
925 <A NAME="getReadMethod(java.lang.String)"><!-- --></A><H3>
926 getReadMethod</H3>
927 <PRE>
928 public java.lang.reflect.Method <B>getReadMethod</B>(java.lang.String&nbsp;name)</PRE>
929 <DL>
930 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the accessor for the property with the given name.
932 <DD><DL>
933 </DL>
934 </DD>
935 <DD><DL>
936 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property
937 <DT><B>Returns:</B><DD>the accessor method for the property, or null</DL>
938 </DD>
939 </DL>
940 <HR>
942 <A NAME="getWriteMethod(java.lang.String)"><!-- --></A><H3>
943 getWriteMethod</H3>
944 <PRE>
945 public java.lang.reflect.Method <B>getWriteMethod</B>(java.lang.String&nbsp;name)</PRE>
946 <DL>
947 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the mutator for the property with the given name.
949 <DD><DL>
950 </DL>
951 </DD>
952 <DD><DL>
953 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property
954 <DT><B>Returns:</B><DD>the mutator method for the property, or null</DL>
955 </DD>
956 </DL>
957 <HR>
959 <A NAME="getReadMethod(java.lang.Object)"><!-- --></A><H3>
960 getReadMethod</H3>
961 <PRE>
962 protected java.lang.reflect.Method <B>getReadMethod</B>(java.lang.Object&nbsp;name)</PRE>
963 <DL>
964 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the accessor for the property with the given name.
966 <DD><DL>
967 </DL>
968 </DD>
969 <DD><DL>
970 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the property
971 <DT><B>Returns:</B><DD>null if the name is null; null if the name is not a
972 <CODE>String</CODE>; null if no such property exists; or the accessor
973 method for that property</DL>
974 </DD>
975 </DL>
976 <HR>
978 <A NAME="getWriteMethod(java.lang.Object)"><!-- --></A><H3>
979 getWriteMethod</H3>
980 <PRE>
981 protected java.lang.reflect.Method <B>getWriteMethod</B>(java.lang.Object&nbsp;name)</PRE>
982 <DL>
983 <DD><B>Deprecated.</B>&nbsp;<DD>Returns the mutator for the property with the given name.
985 <DD><DL>
986 </DL>
987 </DD>
988 <DD><DL>
989 <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the
990 <DT><B>Returns:</B><DD>null if the name is null; null if the name is not a
991 <CODE>String</CODE>; null if no such property exists; null if the
992 property is read-only; or the mutator method for that property</DL>
993 </DD>
994 </DL>
995 <HR>
997 <A NAME="reinitialise()"><!-- --></A><H3>
998 reinitialise</H3>
999 <PRE>
1000 protected void <B>reinitialise</B>()</PRE>
1001 <DL>
1002 <DD><B>Deprecated.</B>&nbsp;<DD>Reinitializes this bean. Called during <A HREF="../../../../org/apache/commons/collections/BeanMap.html#setBean(java.lang.Object)"><CODE>setBean(Object)</CODE></A>.
1003 Does introspection to find properties.
1005 <DD><DL>
1006 </DL>
1007 </DD>
1008 <DD><DL>
1009 </DL>
1010 </DD>
1011 </DL>
1012 <HR>
1014 <A NAME="firePropertyChange(java.lang.Object, java.lang.Object, java.lang.Object)"><!-- --></A><H3>
1015 firePropertyChange</H3>
1016 <PRE>
1017 protected void <B>firePropertyChange</B>(java.lang.Object&nbsp;key,
1018 java.lang.Object&nbsp;oldValue,
1019 java.lang.Object&nbsp;newValue)</PRE>
1020 <DL>
1021 <DD><B>Deprecated.</B>&nbsp;<DD>Called during a successful <A HREF="../../../../org/apache/commons/collections/BeanMap.html#put(java.lang.Object, java.lang.Object)"><CODE>put(Object,Object)</CODE></A> operation.
1022 Default implementation does nothing. Override to be notified of
1023 property changes in the bean caused by this map.
1025 <DD><DL>
1026 </DL>
1027 </DD>
1028 <DD><DL>
1029 <DT><B>Parameters:</B><DD><CODE>key</CODE> - the name of the property that changed<DD><CODE>oldValue</CODE> - the old value for that property<DD><CODE>newValue</CODE> - the new value for that property</DL>
1030 </DD>
1031 </DL>
1032 <HR>
1034 <A NAME="createWriteMethodArguments(java.lang.reflect.Method, java.lang.Object)"><!-- --></A><H3>
1035 createWriteMethodArguments</H3>
1036 <PRE>
1037 protected java.lang.Object[] <B>createWriteMethodArguments</B>(java.lang.reflect.Method&nbsp;method,
1038 java.lang.Object&nbsp;value)
1039 throws java.lang.IllegalAccessException,
1040 java.lang.ClassCastException</PRE>
1041 <DL>
1042 <DD><B>Deprecated.</B>&nbsp;<DD>Creates an array of parameters to pass to the given mutator method.
1043 If the given object is not the right type to pass to the method
1044 directly, it will be converted using <A HREF="../../../../org/apache/commons/collections/BeanMap.html#convertType(java.lang.Class, java.lang.Object)"><CODE>convertType(Class,Object)</CODE></A>.
1046 <DD><DL>
1047 </DL>
1048 </DD>
1049 <DD><DL>
1050 <DT><B>Parameters:</B><DD><CODE>method</CODE> - the mutator method<DD><CODE>value</CODE> - the value to pass to the mutator method
1051 <DT><B>Returns:</B><DD>an array containing one object that is either the given value
1052 or a transformed value
1053 <DT><B>Throws:</B>
1054 <DD><CODE>java.lang.IllegalAccessException</CODE> - if <A HREF="../../../../org/apache/commons/collections/BeanMap.html#convertType(java.lang.Class, java.lang.Object)"><CODE>convertType(Class,Object)</CODE></A>
1055 raises it
1056 <DD><CODE>java.lang.IllegalArgumentException</CODE> - if any other exception is raised
1057 by <A HREF="../../../../org/apache/commons/collections/BeanMap.html#convertType(java.lang.Class, java.lang.Object)"><CODE>convertType(Class,Object)</CODE></A>
1058 <DD><CODE>java.lang.ClassCastException</CODE></DL>
1059 </DD>
1060 </DL>
1061 <HR>
1063 <A NAME="convertType(java.lang.Class, java.lang.Object)"><!-- --></A><H3>
1064 convertType</H3>
1065 <PRE>
1066 protected java.lang.Object <B>convertType</B>(java.lang.Class&nbsp;newType,
1067 java.lang.Object&nbsp;value)
1068 throws java.lang.InstantiationException,
1069 java.lang.IllegalAccessException,
1070 java.lang.IllegalArgumentException,
1071 java.lang.reflect.InvocationTargetException</PRE>
1072 <DL>
1073 <DD><B>Deprecated.</B>&nbsp;<DD>Converts the given value to the given type. First, reflection is
1074 is used to find a public constructor declared by the given class
1075 that takes one argument, which must be the precise type of the
1076 given value. If such a constructor is found, a new object is
1077 created by passing the given value to that constructor, and the
1078 newly constructed object is returned.<P>
1080 If no such constructor exists, and the given type is a primitive
1081 type, then the given value is converted to a string using its
1082 <CODE>toString()</CODE> method, and that string is
1083 parsed into the correct primitive type using, for instance,
1084 <CODE>Integer.valueOf(String)</CODE> to convert the string into an
1085 <code>int</code>.<P>
1087 If no special constructor exists and the given type is not a
1088 primitive type, this method returns the original value.
1090 <DD><DL>
1091 </DL>
1092 </DD>
1093 <DD><DL>
1094 <DT><B>Parameters:</B><DD><CODE>newType</CODE> - the type to convert the value to<DD><CODE>value</CODE> - the value to convert
1095 <DT><B>Returns:</B><DD>the converted value
1096 <DT><B>Throws:</B>
1097 <DD><CODE>java.lang.NumberFormatException</CODE> - if newType is a primitive type, and
1098 the string representation of the given value cannot be converted
1099 to that type
1100 <DD><CODE>java.lang.InstantiationException</CODE> - if the constructor found with
1101 reflection raises it
1102 <DD><CODE>java.lang.reflect.InvocationTargetException</CODE> - if the constructor found with
1103 reflection raises it
1104 <DD><CODE>java.lang.IllegalAccessException</CODE> - never
1105 <DD><CODE>java.lang.IllegalArgumentException</CODE> - never</DL>
1106 </DD>
1107 </DL>
1108 <HR>
1110 <A NAME="getTypeTransformer(java.lang.Class)"><!-- --></A><H3>
1111 getTypeTransformer</H3>
1112 <PRE>
1113 protected <A HREF="../../../../org/apache/commons/collections/Transformer.html" title="interface in org.apache.commons.collections">Transformer</A> <B>getTypeTransformer</B>(java.lang.Class&nbsp;aType)</PRE>
1114 <DL>
1115 <DD><B>Deprecated.</B>&nbsp;<DD>Returns a transformer for the given primitive type.
1117 <DD><DL>
1118 </DL>
1119 </DD>
1120 <DD><DL>
1121 <DT><B>Parameters:</B><DD><CODE>aType</CODE> - the primitive type whose transformer to return
1122 <DT><B>Returns:</B><DD>a transformer that will convert strings into that type,
1123 or null if the given type is not a primitive type</DL>
1124 </DD>
1125 </DL>
1126 <HR>
1128 <A NAME="logInfo(java.lang.Exception)"><!-- --></A><H3>
1129 logInfo</H3>
1130 <PRE>
1131 protected void <B>logInfo</B>(java.lang.Exception&nbsp;ex)</PRE>
1132 <DL>
1133 <DD><B>Deprecated.</B>&nbsp;<DD>Logs the given exception to <code>System.out</code>. Used to display
1134 warnings while accessing/mutating the bean.
1136 <DD><DL>
1137 </DL>
1138 </DD>
1139 <DD><DL>
1140 <DT><B>Parameters:</B><DD><CODE>ex</CODE> - the exception to log</DL>
1141 </DD>
1142 </DL>
1143 <HR>
1145 <A NAME="logWarn(java.lang.Exception)"><!-- --></A><H3>
1146 logWarn</H3>
1147 <PRE>
1148 protected void <B>logWarn</B>(java.lang.Exception&nbsp;ex)</PRE>
1149 <DL>
1150 <DD><B>Deprecated.</B>&nbsp;<DD>Logs the given exception to <code>System.err</code>. Used to display
1151 errors while accessing/mutating the bean.
1153 <DD><DL>
1154 </DL>
1155 </DD>
1156 <DD><DL>
1157 <DT><B>Parameters:</B><DD><CODE>ex</CODE> - the exception to log</DL>
1158 </DD>
1159 </DL>
1160 <!-- ========= END OF CLASS DATA ========= -->
1161 <HR>
1164 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1165 <A NAME="navbar_bottom"><!-- --></A>
1166 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1167 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1168 <TR>
1169 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1170 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1171 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1172 <TR ALIGN="center" VALIGN="top">
1173 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1174 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1175 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1176 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BeanMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1177 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1178 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1179 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1180 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1181 </TR>
1182 </TABLE>
1183 </TD>
1184 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1185 </EM>
1186 </TD>
1187 </TR>
1189 <TR>
1190 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1191 &nbsp;<A HREF="../../../../org/apache/commons/collections/BagUtils.html" title="class in org.apache.commons.collections"><B>PREV CLASS</B></A>&nbsp;
1192 &nbsp;<A HREF="../../../../org/apache/commons/collections/BeanMap.MyMapEntry.html" title="class in org.apache.commons.collections"><B>NEXT CLASS</B></A></FONT></TD>
1193 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1194 <A HREF="../../../../index.html?org/apache/commons/collections/BeanMap.html" target="_top"><B>FRAMES</B></A> &nbsp;
1195 &nbsp;<A HREF="BeanMap.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1196 &nbsp;<SCRIPT type="text/javascript">
1197 <!--
1198 if(window==top) {
1199 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1201 //-->
1202 </SCRIPT>
1203 <NOSCRIPT>
1204 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1205 </NOSCRIPT>
1208 </FONT></TD>
1209 </TR>
1210 <TR>
1211 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1212 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1213 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1214 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1215 </TR>
1216 </TABLE>
1217 <A NAME="skip-navbar_bottom"></A>
1218 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1220 <HR>
1221 Copyright © 2001-2008 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
1222 </BODY>
1223 </HTML>