Diffusion .NET Classic API - Core and Common  5.9.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl Class Reference

Implementation of IMNode metadata. More...

Inheritance diagram for PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl:
PushTechnology.DiffusionCore.Messaging.Data.metadata.IMNode PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldImpl PushTechnology.DiffusionCore.Messaging.Data.metadata.MRecordImpl PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldCustomString PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldDecimalString PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldIntegerString PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldString PushTechnology.DiffusionCore.Messaging.Data.metadata.MMessageImpl PushTechnology.DiffusionCore.Messaging.Data.metadata.record.MRecordRecord PushTechnology.DiffusionCore.Messaging.Data.metadata.record.MRecordMessage

Public Member Functions

void GetObjectData (SerializationInfo info, StreamingContext context)
 Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. More...
 
virtual XmlNode ToXmlObject ()
 Convert this object into a proxy object suitable for serialization. More...
 

Protected Member Functions

 MNodeImpl (string name, MRecordImpl parent, Multiplicity multiplicity)
 Constructor. More...
 

Properties

string Name [get, set]
 Returns the node name. More...
 
string FullName [get]
 Returns the full name of the node defining its hierarchy, with node elements separated by '.'. More...
 
virtual bool IsField [get, set]
 Indicates whether the node is a field. Returns true if the node is a field (an instance of IMField). More...
 
virtual bool IsRecord [get, set]
 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...
 
virtual bool IsMessage [get, set]
 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, set]
 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, set]
 Returns the parent record (or message). More...
 
IMMessage Message [get]
 Returns the root message. More...
 

Detailed Description

Implementation of IMNode metadata.

This provides the base functionality common to all metadata nodes.

This is NOT extended by implementation classes which should only extend the subclasses.

Constructor & Destructor Documentation

PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.MNodeImpl ( string  name,
MRecordImpl  parent,
Multiplicity  multiplicity 
)
protected

Constructor.

Parameters
name
parent
multiplicity

Member Function Documentation

void PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)

Populates a T:System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.

Parameters
infoThe T:System.Runtime.Serialization.SerializationInfo to populate with data.
contextThe destination (see T:System.Runtime.Serialization.StreamingContext) for this serialization.
Exceptions
T:System.Security.SecurityExceptionThe caller does not have the required permission.
virtual XmlNode PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.ToXmlObject ( )
virtual

Convert this object into a proxy object suitable for serialization.

Returns

Reimplemented in PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldCustomString.

Property Documentation

string PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.FullName
get

Returns the full name of the node defining its hierarchy, with node elements separated by '.'.

virtual bool PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.IsField
getset

Indicates whether the node is a field. Returns true if the node is a field (an instance of IMField).

virtual bool PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.IsMessage
getset

Indicates whether the node is a top level message. Returns true if the node is a message (an instance of IMMessage).

virtual bool PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.IsRecord
getset

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.

IMMessage PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.Message
get

Returns the root message.

Multiplicity PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.Multiplicity
getset

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.

string PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.Name
getset

Returns the node name.

IMRecord PushTechnology.DiffusionCore.Messaging.Data.metadata.MNodeImpl.Parent
getset

Returns the parent record (or message).