public enum BeanAccessMode extends Enum<BeanAccessMode>
Modifier and Type | Method and Description |
---|---|
BeanInfo |
create(BeanInfoFactory beanInfoFactory,
ClassAdapter classAdapter,
Set<PropertyInfo> properties,
Set<ConstructorInfo> constructors,
Set<MethodInfo> methods,
Set<EventInfo> events)
Create the bean info
|
static BeanAccessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanAccessMode STANDARD
public static final BeanAccessMode FIELDS
public static final BeanAccessMode ALL
public static BeanAccessMode[] values()
for (BeanAccessMode c : BeanAccessMode.values()) System.out.println(c);
public static BeanAccessMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic BeanInfo create(BeanInfoFactory beanInfoFactory, ClassAdapter classAdapter, Set<PropertyInfo> properties, Set<ConstructorInfo> constructors, Set<MethodInfo> methods, Set<EventInfo> events)
beanInfoFactory
- the bean info factoryclassAdapter
- the class adapterproperties
- the propertiesconstructors
- the constructorsmethods
- the methodsevents
- the eventsCopyright © 2017 JBoss by Red Hat. All rights reserved.