Java org.apache.commons.beanutils BeanMap fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.beanutils BeanMap fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.beanutils BeanMap.

The text is from its open source code.

Subclass

org.apache.commons.beanutils.BeanMap has subclasses.
Click this link to see all its subclasses.

Constructor

BeanMap(Object bean)
构造一个新的BeanMap�作指定的bean, 如果给定的bean是null, 那么 这个map将会是empty。
BeanMap()
构造一个新的empty的BeanMap.

Method

booleancontainsKey(Object name)
Returns true if the bean defines a property with the given name.
IteratorentryIterator()
Convenience method for getting an iterator over the entries.
SetentrySet()
Gets a Set of MapEntry objects that are the mappings for this BeanMap.
voidforEach(BiConsumer action)
Performs the given action for each entry in this map until all entries have been processed or the action throws an exception.
Objectget(Object name)
æ ¹æ?®å±žæ€§çš„å??称得到对应属性的值

给定的属性å??称必须是 String 而且必须ä¸?能为 null; å?¦åˆ™è¿™ä¸ªæ–¹æ³•è¿”回 null.

ObjectgetBean()
Returns the bean currently being operated on.
MethodgetReadMethod(String name)
Returns the accessor for the property with the given name.
MethodgetReadMethod(Object name)
Returns the accessor for the property with the given name.
ClassgetType(String name)
Returns the type of the property with the given name.
MethodgetWriteMethod(String name)
Returns the mutator for the property with the given name.
MethodgetWriteMethod(Object name)
Returns the mutator for the property with the given name.
IteratorkeyIterator()
Convenience method for getting an iterator over the keys.
SetkeySet()
Get the keys for this BeanMap.
Objectput(Object name, Object value)
Sets the bean property with the given name to the given value.
voidputAll(Map m)
voidsetBean(Object newBean)
Sets the bean to be operated on by this map.