![]() |
Diffusion .NET Classic API - Core and Common
5.9.4
|
Public Member Functions | |
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... | |
Properties | |
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... | |
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddCustomField | ( | string | name, |
Multiplicity | multiplicity, | ||
ICustomFieldHandler | handler | ||
) |
Adds a new child field with custom data type.
name | The name of the child field. |
multiplicity | The multiplicity of the child field within this record. |
handler | A custom field handler that defines the behaviour of the custom data type. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddCustomField | ( | string | name, |
Multiplicity | multiplicity, | ||
string | handler | ||
) |
Adds a new child field with custom data type.
name | The name of the child field. |
multiplicity | The multiplicity of the child field within this record. |
handler | The class name of a custom field handler that defines the behaviour of the custom data type. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddField | ( | string | name | ) |
Adds a new child field with default multiplicity and data type.
name | The name of the child field. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddField | ( | string | name, |
Multiplicity | multiplicity | ||
) |
Adds a new child field with default data type.
name | The name of the child field. |
multiplicity | The multiplicity of the child field within this record. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddField | ( | string | name, |
MDataType | dataType | ||
) |
Adds a new child field with default multiplicity.
Default multiplicity may vary by implementation but is typically singleRequired.
name | The name of the child field. |
dataType | THe data type of the child field. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddField | ( | string | name, |
MDataType | dataType, | ||
Multiplicity | multiplicity | ||
) |
Adds a new child field.
name | The name of the child field. |
dataType | The data type of the child field. |
multiplicity | The multiplicity of the child field within this record. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMRecord PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddRecord | ( | string | name | ) |
Adds a new child record with default multiplicity.
Default multiplicity may vary by implementation but is typically singleRequired.
name | The name of the child record. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMRecord PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.AddRecord | ( | string | name, |
Multiplicity | multiplicity | ||
) |
Adds a new child record.
name | The name of the child record. |
multiplicity | The multiplicity of the child record within this record. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMNode PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.GetChild | ( | int | index | ) |
Gets the child at a given index.
index | The index. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMField PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.GetField | ( | string | name | ) |
Gets a child field by name.
name | The field name. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
IMRecord PushTechnology.DiffusionCore.Messaging.Data.metadata.IMRecord.GetRecord | ( | string | name | ) |
Gets a child record by name.
name | The record name. |
Implemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl.
|
get |
Returns the number of child nodes defined.
|
get |
Returns a list of the children of the record.