Java Doc for MutablePropertyValues.java in  » J2EE » spring-framework-2.0.6 » org » springframework » beans » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » spring framework 2.0.6 » org.springframework.beans 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.springframework.beans.MutablePropertyValues

All known Subclasses:   org.springframework.web.portlet.bind.PortletRequestParameterPropertyValues,  org.springframework.web.bind.ServletRequestParameterPropertyValues,
MutablePropertyValues
public class MutablePropertyValues implements PropertyValues,Serializable(Code)
Default implementation of the PropertyValues interface. Allows simple manipulation of properties, and provides constructors to support deep copy and construction from a Map.
author:
   Rod Johnson
author:
   Juergen Hoeller
author:
   Rob Harrop
since:
   13 May 2001



Constructor Summary
public  MutablePropertyValues()
     Creates a new empty MutablePropertyValues object.
public  MutablePropertyValues(PropertyValues original)
     Deep copy constructor.
public  MutablePropertyValues(Map original)
     Construct a new MutablePropertyValues object from a Map.
public  MutablePropertyValues(List propertyValueList)
     Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.

Method Summary
public  MutablePropertyValuesaddPropertyValue(PropertyValue pv)
     Add a PropertyValue object, replacing any existing one for the corresponding property.
public  voidaddPropertyValue(String propertyName, Object propertyValue)
     Overloaded version of addPropertyValue that takes a property name and a property value.
public  MutablePropertyValuesaddPropertyValues(PropertyValues other)
     Copy all given PropertyValues into this object.
public  MutablePropertyValuesaddPropertyValues(Map other)
     Add all property values from the given Map.
public  PropertyValueschangesSince(PropertyValues old)
    
public  voidclear()
     Clear this holder, removing all PropertyValues.
public  booleancontains(String propertyName)
    
public  booleanequals(Object other)
    
public  PropertyValuegetPropertyValue(String propertyName)
    
public  ListgetPropertyValueList()
     Return the underlying List of PropertyValue objects in its raw form.
public  PropertyValue[]getPropertyValues()
    
public  inthashCode()
    
public  booleanisConverted()
     Return whether this holder contains converted values only (true), or whether the values still need to be converted (false).
public  booleanisEmpty()
    
public  voidremovePropertyValue(String propertyName)
     Overloaded version of removePropertyValue that takes a property name.
public  voidremovePropertyValue(PropertyValue pv)
     Remove the given PropertyValue, if contained.
public  voidsetConverted()
     Mark this holder as containing converted values only (i.e.
public  voidsetPropertyValueAt(PropertyValue pv, int i)
     Modify a PropertyValue object held in this object.
public  intsize()
    
public  StringtoString()
    


Constructor Detail
MutablePropertyValues
public MutablePropertyValues()(Code)
Creates a new empty MutablePropertyValues object. Property values can be added with the addPropertyValue methods.
See Also:   MutablePropertyValues.addPropertyValue(PropertyValue)
See Also:   MutablePropertyValues.addPropertyValue(String,Object)



MutablePropertyValues
public MutablePropertyValues(PropertyValues original)(Code)
Deep copy constructor. Guarantees PropertyValue references are independent, although it can't deep copy objects currently referenced by individual PropertyValue objects.
Parameters:
  original - the PropertyValues to copy
See Also:   MutablePropertyValues.addPropertyValues(PropertyValues)



MutablePropertyValues
public MutablePropertyValues(Map original)(Code)
Construct a new MutablePropertyValues object from a Map.
Parameters:
  original - Map with property values keyed by property name Strings
See Also:   MutablePropertyValues.addPropertyValues(Map)



MutablePropertyValues
public MutablePropertyValues(List propertyValueList)(Code)
Construct a new MutablePropertyValues object using the given List of PropertyValue objects as-is.

This is a constructor for advanced usage scenarios. It is not intended for typical programmatic use.
Parameters:
  propertyValueList - List of PropertyValue objects





Method Detail
addPropertyValue
public MutablePropertyValues addPropertyValue(PropertyValue pv)(Code)
Add a PropertyValue object, replacing any existing one for the corresponding property.
Parameters:
  pv - PropertyValue object to add this object to allow creating objects, adding multiplePropertyValues in a single statement



addPropertyValue
public void addPropertyValue(String propertyName, Object propertyValue)(Code)
Overloaded version of addPropertyValue that takes a property name and a property value.
Parameters:
  propertyName - name of the property
Parameters:
  propertyValue - value of the property
See Also:   MutablePropertyValues.addPropertyValue(PropertyValue)



addPropertyValues
public MutablePropertyValues addPropertyValues(PropertyValues other)(Code)
Copy all given PropertyValues into this object. Guarantees PropertyValue references are independent, although it can't deep copy objects currently referenced by individual PropertyValue objects.
Parameters:
  other - the PropertyValues to copy this object to allow creating objects, adding multiple PropertyValuesin a single statement



addPropertyValues
public MutablePropertyValues addPropertyValues(Map other)(Code)
Add all property values from the given Map.
Parameters:
  other - Map with property values keyed by property name,which must be a String this object to allow creating objects, adding multiplePropertyValues in a single statement



changesSince
public PropertyValues changesSince(PropertyValues old)(Code)



clear
public void clear()(Code)
Clear this holder, removing all PropertyValues.



contains
public boolean contains(String propertyName)(Code)



equals
public boolean equals(Object other)(Code)



getPropertyValue
public PropertyValue getPropertyValue(String propertyName)(Code)



getPropertyValueList
public List getPropertyValueList()(Code)
Return the underlying List of PropertyValue objects in its raw form. The returned List can be modified directly, although this is not recommended.

This is an accessor for optimized access to all PropertyValue objects. It is not intended for typical programmatic use.




getPropertyValues
public PropertyValue[] getPropertyValues()(Code)



hashCode
public int hashCode()(Code)



isConverted
public boolean isConverted()(Code)
Return whether this holder contains converted values only (true), or whether the values still need to be converted (false).



isEmpty
public boolean isEmpty()(Code)



removePropertyValue
public void removePropertyValue(String propertyName)(Code)
Overloaded version of removePropertyValue that takes a property name.
Parameters:
  propertyName - name of the property
See Also:   MutablePropertyValues.removePropertyValue(PropertyValue)



removePropertyValue
public void removePropertyValue(PropertyValue pv)(Code)
Remove the given PropertyValue, if contained.
Parameters:
  pv - the PropertyValue to remove



setConverted
public void setConverted()(Code)
Mark this holder as containing converted values only (i.e. no runtime resolution needed anymore).



setPropertyValueAt
public void setPropertyValueAt(PropertyValue pv, int i)(Code)
Modify a PropertyValue object held in this object. Indexed from 0.



size
public int size()(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.