![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
Interface for 'message' metadata node. More...
Properties | |
TopicDataType | TopicDataType [get, set] |
Identifies the data implementation type of the metadata. More... | |
![]() | |
List< IMNode > | ChildNodes [get] |
Returns a list of the children of the record. More... | |
int | ChildCount [get] |
Returns the number of child nodes defined. More... | |
![]() | |
string | Name [get] |
Returns the node name. More... | |
string | FullName [get] |
Returns the full name of the node defining its hierarchy, with node elements separated by '.'. More... | |
bool | IsField [get] |
Indicates whether the node is a field. Returns true if the node is a field (an instance of IMField). More... | |
bool | IsRecord [get] |
Indicates whether the node is a record. Returns true if the node is a record (an instance of IMRecord). Note that a message (instance of IMMessage) is considered to be a record. More... | |
bool | IsMessage [get] |
Indicates whether the node is a top level message. Returns true if the node is a message (an instance of IMMessage). More... | |
Multiplicity | Multiplicity [get] |
Returns the node's multiplicity within its parent. Returns the node's multiplicity. Note that though an IMMessage has no parent, this will return a value of singleRequired for a message. More... | |
IMRecord | Parent [get] |
Returns the parent record (or message). More... | |
IMMessage | Message [get] |
Returns the root message. More... | |
Additional Inherited Members | |
![]() | |
IMRecord | AddRecord (string name) |
Adds a new child record with default multiplicity. More... | |
IMRecord | AddRecord (string name, Multiplicity multiplicity) |
Adds a new child record. More... | |
IMField | AddField (string name) |
Adds a new child field with default multiplicity and data type. More... | |
IMField | AddField (string name, Multiplicity multiplicity) |
Adds a new child field with default data type. More... | |
IMField | AddField (string name, MDataType dataType) |
Adds a new child field with default multiplicity. More... | |
IMField | AddField (string name, MDataType dataType, Multiplicity multiplicity) |
Adds a new child field. More... | |
IMField | AddCustomField (string name, Multiplicity multiplicity, ICustomFieldHandler handler) |
Adds a new child field with custom data type. More... | |
IMField | AddCustomField (string name, Multiplicity multiplicity, string handler) |
Adds a new child field with custom data type. More... | |
IMRecord | GetRecord (string name) |
Gets a child record by name. More... | |
IMField | GetField (string name) |
Gets a child field by name. More... | |
IMNode | GetChild (int index) |
Gets the child at a given index. More... | |
Interface for 'message' metadata node.
A 'message' is the top level metadata node in a metadata definition and is defined in terms of child fields and/or records.
The purpose of message metadata is to describe the content of occurrences of IDataMessage.
The format of the message is constrained by the implementation according to the TopicDataType of data that it is to represent.
|
getset |
Identifies the data implementation type of the metadata.