|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Property
Interface for a property of an event of type BeanEventType (JavaBean event). Properties are designed to handle the different types of properties for such events: indexed, mapped, simple, nested, or a combination of those.
Method Summary | |
---|---|
EventPropertyGetter |
getGetter(BeanEventType eventType,
EventAdapterService eventAdapterService)
Returns value getter for the property of an event of the given event type. |
EventPropertyGetter |
getGetterDOM()
Returns the getter-method for use with XML DOM event representations. |
EventPropertyGetter |
getGetterDOM(SchemaElementComplex complexProperty,
EventAdapterService eventAdapterService,
BaseXMLEventType xmlEventType,
java.lang.String propertyExpression)
Returns the getter-method for use with XML DOM event representations. |
MapEventPropertyGetter |
getGetterMap(java.util.Map optionalMapPropTypes,
EventAdapterService eventAdapterService)
Returns the getter-method for use with Map event representations. |
ObjectArrayEventPropertyGetter |
getGetterObjectArray(java.util.Map<java.lang.String,java.lang.Integer> indexPerProperty,
java.util.Map<java.lang.String,java.lang.Object> nestableTypes,
EventAdapterService eventAdapterService)
|
java.lang.String |
getPropertyNameAtomic()
|
java.lang.Class |
getPropertyType(BeanEventType eventType,
EventAdapterService eventAdapterService)
Returns the property type. |
GenericPropertyDesc |
getPropertyTypeGeneric(BeanEventType eventType,
EventAdapterService eventAdapterService)
Returns the property type plus its generic type parameter, if any. |
java.lang.Class |
getPropertyTypeMap(java.util.Map optionalMapPropTypes,
EventAdapterService eventAdapterService)
Returns the property type for use with Map event representations. |
SchemaItem |
getPropertyTypeSchema(SchemaElementComplex complexProperty,
EventAdapterService eventAdapterService)
Returns the property type for use with DOM event representations. |
boolean |
isDynamic()
Returns true for dynamic properties. |
java.lang.String[] |
toPropertyArray()
Return a String-array of atomic property names. |
void |
toPropertyEPL(java.io.StringWriter writer)
Write the EPL-representation of the property. |
Method Detail |
---|
java.lang.Class getPropertyType(BeanEventType eventType, EventAdapterService eventAdapterService)
eventType
- is the event type representing the JavaBeaneventAdapterService
- for event adapters
GenericPropertyDesc getPropertyTypeGeneric(BeanEventType eventType, EventAdapterService eventAdapterService)
eventType
- is the event type representing the JavaBeaneventAdapterService
- for event adapters
EventPropertyGetter getGetter(BeanEventType eventType, EventAdapterService eventAdapterService)
eventType
- is the type of event to make a getter foreventAdapterService
- factory for event beans and event types
java.lang.Class getPropertyTypeMap(java.util.Map optionalMapPropTypes, EventAdapterService eventAdapterService)
optionalMapPropTypes
- a map-within-map type definition, if supplied, or null if not suppliedeventAdapterService
- for resolving further map event types that are property types
MapEventPropertyGetter getGetterMap(java.util.Map optionalMapPropTypes, EventAdapterService eventAdapterService)
optionalMapPropTypes
- a map-within-map type definition, if supplied, or null if not suppliedeventAdapterService
- for resolving further map event types that are property types
ObjectArrayEventPropertyGetter getGetterObjectArray(java.util.Map<java.lang.String,java.lang.Integer> indexPerProperty, java.util.Map<java.lang.String,java.lang.Object> nestableTypes, EventAdapterService eventAdapterService)
SchemaItem getPropertyTypeSchema(SchemaElementComplex complexProperty, EventAdapterService eventAdapterService)
complexProperty
- a element-within-element type definitioneventAdapterService
- for resolving further element event types if defined
EventPropertyGetter getGetterDOM(SchemaElementComplex complexProperty, EventAdapterService eventAdapterService, BaseXMLEventType xmlEventType, java.lang.String propertyExpression)
complexProperty
- a element-within-element type definitioneventAdapterService
- for resolving or creating further event types that are property typesxmlEventType
- the event typepropertyExpression
- the full property expression
EventPropertyGetter getGetterDOM()
void toPropertyEPL(java.io.StringWriter writer)
writer
- to write tojava.lang.String[] toPropertyArray()
boolean isDynamic()
java.lang.String getPropertyNameAtomic()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |