Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Event.Parser.Field Class Reference

Non-generic class holding the name and type of a field in an EventType (with reduced compile-time type safety compared to generic Field<T> class). More...

Inherited by Apama.Event.Parser.Field< T >.

Public Member Functions

 Field (string name, FieldType type)
 Creates a new field. More...
 
override string ToString ()
 Returns a string representation of the event type. Note that this representation will use the .NET ToString() method to format the results, and is not valid monitorscript. More...
 

Properties

virtual string Name [get]
 Method to return the name of the field object More...
 
virtual FieldType Type [get]
 Method to return the FieldType of the field object More...
 

Detailed Description

Non-generic class holding the name and type of a field in an EventType (with reduced compile-time type safety compared to generic Field<T> class).

For most applications, it is better to use the generic Field<T> class instead of this one, unless there is a specific requirement to process fields from Event objects without access to the corresponding generic FieldType<T> object.

Constructor & Destructor Documentation

Apama.Event.Parser.Field.Field ( string  name,
FieldType  type 
)

Creates a new field.

Parameters
nameThe field name
typethe field type

Member Function Documentation

override string Apama.Event.Parser.Field.ToString ( )

Returns a string representation of the event type. Note that this representation will use the .NET ToString() method to format the results, and is not valid monitorscript.

Property Documentation

virtual string Apama.Event.Parser.Field.Name
get

Method to return the name of the field object

Returns
Name of the Field
virtual FieldType Apama.Event.Parser.Field.Type
get

Method to return the FieldType of the field object

Returns
Type of the field
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.