Apama API Reference for .NET  10.3.0.2
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Event.Parser.ReferenceFieldType< T > Class Template Reference

Abstract class for Apama types which will be represented by reference types in C# (E.g. Sequence, Dictionary Event, Decimal etc). Used to define the type of fields in an EventType, and also for type parameters in complex types such as FieldTypes.Sequence<T>(FieldType<T>). Get field type objects using FieldTypes. More...

Inherits Apama.Event.Parser.FieldType< T >.

Inherited by Apama.Event.Parser.AnyFieldType, Apama.Event.Parser.ChannelFieldType, Apama.Event.Parser.DecimalFieldType, Apama.Event.Parser.DictionaryFieldType< TKey, TValue >, Apama.Event.Parser.EventType, Apama.Event.Parser.LocationFieldType, Apama.Event.Parser.SequenceFieldType< E >, and Apama.Event.Parser.StringFieldType.

Additional Inherited Members

- Public Member Functions inherited from Apama.Event.Parser.FieldType< T >
abstract T DefaultValue ()
 Returns default value of this field type. It is used when returning value of a field not explicitly set. More...
 
Field< T > NewField (string name)
 Creates a new Field object with the specified name, using this field type. More...
 
abstract T Parse (String value)
 Parse a token according to syntax rules of this type. More...
 
- Public Member Functions inherited from Apama.Event.Parser.FieldType
virtual string Format (Object value)
 Format the given value in MonitorScript representation. More...
 
abstract object GetDefaultValue ()
 Get the default value for this field type. More...
 
abstract object ParseObject (String value)
 Parse a value from this type's Apama event string representation into the .NET object representation of the value. More...
 
override string ToString ()
 For Internal use only More...
 
- Protected Member Functions inherited from Apama.Event.Parser.FieldType
 FieldType (string typeName, Type clazz)
 Create a new FieldType. More...
 
- Properties inherited from Apama.Event.Parser.FieldType
virtual string Name [get]
 Return the name of this type. More...
 
Type TypeClass [get]
 Return the .NET type used to express values of this Apama field type. More...
 

Detailed Description

Abstract class for Apama types which will be represented by reference types in C# (E.g. Sequence, Dictionary Event, Decimal etc). Used to define the type of fields in an EventType, and also for type parameters in complex types such as FieldTypes.Sequence<T>(FieldType<T>). Get field type objects using FieldTypes.

For the primitive type equivalent of this type, use PrimitiveFieldType<T>.

See also
FieldTypes.Dictionary

Use this factory method to create a new Dictionary field type.

See also
FieldTypes.Sequence

Use this factory method to create a new Sequence field type.

See also
FieldTypes.Optional

Use this factory method to create a new Optional field type.

Template Parameters
TThe .NET type used to represent values of this field type.
Type Constraints
T :class 
Submit a bug or feature
Copyright (c) 2013-2018 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.