Package org.springframework.core.convert
Class Property
java.lang.Object
org.springframework.core.convert.Property
A description of a JavaBeans Property that allows us to avoid a dependency on
 
java.beans.PropertyDescriptor. The java.beans package
 is not available in a number of environments (e.g. Android, Java ME), so this is
 desirable for portability of Spring's core conversion facility.
 Used to build a TypeDescriptor from a property location. The built
 TypeDescriptor can then be used to convert from/to the property type.
- Since:
- 3.1
- Author:
- Keith Donald, Phillip Webb
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetName()The name of the property: e.g.Class<?>The object declaring this property, either directly or in a superclass the object extends.The property getter method: e.g.Class<?>getType()The property type: e.g.The property setter method: e.g.inthashCode()
- 
Constructor Details- 
Property
- 
Property
 
- 
- 
Method Details- 
getObjectTypeThe object declaring this property, either directly or in a superclass the object extends.
- 
getNameThe name of the property: e.g. 'foo'
- 
getTypeThe property type: e.g.java.lang.String
- 
getReadMethodThe property getter method: e.g.getFoo()
- 
getWriteMethodThe property setter method: e.g.setFoo(String)
- 
equals
- 
hashCodepublic int hashCode()
 
-