An event structure defines the set of member attributes that describe specific features of an event.
Use this page to enter the details of an event structure. The event structure will be created in the database. Also, a Java Class file will be added to the package specified in the current project, which will serve as a Java interface to the event structure.
Database Schema NameThis is the database schema in which the event structure will be created. This information is derived from the connection specified in the previous step, and is not editable.Event Structure Name
Enter the name of the event structure. The name must be unique.Package Name
Enter the name of a package where you would like to add the java class generated for this event structure. You can select the package name from the drop-down list or enter one directly into the field. If the package name specified does not exist, it will be created.Java Class for the Event Structure
Enter a name for the java class that will be created for the event structure. This name need not be the same as the event structure name, though you may find it useful to give them the same name.Attribute List
This is the list of attributes for the event structure you are specifying. Enter the following:Associated User-defined Objects
- Attribute Name - Enter a name for the attribute.
- SQL Type - Choose a SQL Type for the attribute from a list. A number of native SQL types are in this list, as well as types corresponding to event structures that exist in this schema. Once a SQL Type is chosen, a corresponding Java Class will automatically be selected in the Java Class field.
- Length - Enter a length for the chosen SQL Type. This only applies to the VARCHAR2 datatype.
- Java Class(Type) - Enter a Java Class name for the attribute, or accept the one mapped to the SQL Type chosen. If this field is changed, then the SQL Type field will change, since there is a one-to-one mapping between SQL types and Java types.
Select an Object name from the drop-down list, and click the Add button to append it to the list in the text box. The drop-down list is populated with function and type names from the Database Schema. These Associated User-defined Objects can be used when writing rule conditions for this event structure.
Related Topics
Copyright © 2005, Oracle. All rights reserved.