public class PropertyListBuilderExplicit extends Object implements PropertyListBuilder
Constructor and Description |
---|
PropertyListBuilderExplicit(ConfigurationCommonEventTypeBean legacyConfig)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<PropertyStem> |
assessProperties(Class clazz)
Introspect the clazz and deterime exposed event properties.
|
protected static void |
getExplicitProperties(List<PropertyStem> result,
Class clazz,
ConfigurationCommonEventTypeBean legacyConfig)
Populates explicitly-defined properties into the result list.
|
protected static PropertyStem |
makeFieldDesc(Field field,
String name)
Makes a simple-type event property descriptor based on a reflected field.
|
protected static PropertyStem |
makeMethodDesc(Method method,
String name)
Makes an event property descriptor based on a reflected method, considering
the methods parameters to determine if this is an indexed or mapped event property.
|
public PropertyListBuilderExplicit(ConfigurationCommonEventTypeBean legacyConfig)
legacyConfig
- is a legacy type specification containing
information about explicitly configured fields and methodspublic List<PropertyStem> assessProperties(Class clazz)
PropertyListBuilder
assessProperties
in interface PropertyListBuilder
clazz
- to introspectprotected static void getExplicitProperties(List<PropertyStem> result, Class clazz, ConfigurationCommonEventTypeBean legacyConfig)
result
- is the resulting list of event property descriptorsclazz
- is the class to introspectlegacyConfig
- supplies specification of explicit methods and fields to exposeprotected static PropertyStem makeFieldDesc(Field field, String name)
field
- is the public fieldname
- is the name of the event propertyprotected static PropertyStem makeMethodDesc(Method method, String name)
method
- is the public methodname
- is the name of the event propertyCopyright © 2005–2018. All rights reserved.