public class FieldBeanInfo extends AbstractBeanInfo
BeanAccessMode.FIELDS
Modifier and Type | Field and Description |
---|---|
protected Map<String,FieldInfo> |
fieldsByName
The fields
|
classAdapter
Constructor and Description |
---|
FieldBeanInfo(BeanInfoFactory beanInfoFactory,
ClassAdapter classAdapter,
Set<PropertyInfo> properties,
Set<ConstructorInfo> constructors,
Set<MethodInfo> methods,
Set<EventInfo> events) |
Modifier and Type | Method and Description |
---|---|
protected FieldInfo |
getField(String name)
Get a property
|
protected org.jboss.beans.info.plugins.FieldFilter |
getFieldFilter()
Get the field filter.
|
protected static Set<FieldInfo> |
getFields(ClassInfo classInfo,
org.jboss.beans.info.plugins.FieldFilter filter)
Get the fields
|
protected PropertyInfo |
replaceProperty(PropertyInfo original)
Do we need to replace property due to access mode.
|
protected void |
setFields(Set<FieldInfo> fields)
Set fields
|
void |
setProperties(Set<PropertyInfo> properties)
Set the property information.
|
addProperty, equals, findPropertyInfo, getBeanInfoFactory, getClassInfo, getConstructors, getEvents, getHashCode, getJoinpointFactory, getMethods, getName, getProperties, getProperty, getProperty, invoke, invoke, invoke, invoke, invokeStatic, invokeStatic, invokeStatic, invokeStatic, newInstance, newInstance, newInstance, newInstance, replaceAndAddProperty, setConstructors, setEvents, setMethods, setProperty, toShortString, toString
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toString, toStringImplementation
public FieldBeanInfo(BeanInfoFactory beanInfoFactory, ClassAdapter classAdapter, Set<PropertyInfo> properties, Set<ConstructorInfo> constructors, Set<MethodInfo> methods, Set<EventInfo> events)
public void setProperties(Set<PropertyInfo> properties)
BeanInfo
setProperties
in interface BeanInfo
setProperties
in class AbstractBeanInfo
properties
- a Setprotected PropertyInfo replaceProperty(PropertyInfo original)
AbstractBeanInfo
replaceProperty
in class AbstractBeanInfo
original
- the original propertyprotected FieldInfo getField(String name)
name
- the property nameIllegalArgumentException
- if there is no such propertyprotected static Set<FieldInfo> getFields(ClassInfo classInfo, org.jboss.beans.info.plugins.FieldFilter filter)
classInfo
- the class infofilter
- the field filterprotected org.jboss.beans.info.plugins.FieldFilter getFieldFilter()
Copyright © 2014 JBoss by Red Hat. All rights reserved.