[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
This interface provides metadata on events.
The interface exposes events as organizations of named values. The contract is that any event in the system must have a name-based way of accessing sub-data within its event type. A simple example is an object: the names can be property names, and those properties can have still more properties beneath them. Another example is a Dictionary structure. Here string names can refer to data objects.
The following tables list the members exposed by the EventType type.
Public Methods
Name | Description | |
---|---|---|
![]() | GetGetter |
Get the getter for a specified event property. Returns null if the property name is not valid.
|
![]() | GetPropertyType |
Get the type of an event property as returned by the "getter" method for that property. Returns
unboxed (such as 'int.class') as well as boxed (java.lang.Integer) type.
Returns null if the property name is not valid.
|
![]() | IsProperty |
Check that the given property name is valid for this event type, ie. that is exists in the event type.
|
Public Properties
Name | Description | |
---|---|---|
![]() | DeepSuperTypes |
Returns enumerable over all super types to event type, going up the hierarchy and including
all interfaces (and their extended interfaces) and superclasses as EventType instances.
|
![]() | PropertyNames |
Get all valid property names for the event type.
|
![]() | SuperTypes |
Returns an array of event types that are super to this event type, from which this event type
inherited event properties. For object instances underlying the event this method returns the
event types for all superclasses extended by the object and all interfaces implemented by the
object.
|
![]() | UnderlyingType |
Get the class that represents the type of the event type.
Returns a bean event class if the schema represents a bean event type.
Returns Map if the schema represents a collection of values in a Map.
|