|
abstract object | Parse (object obj) |
| Parses any object that can be parsed into the internal representation of this field's data type. More...
|
|
abstract bool | AreEqual (object source, object target) |
| Compares two objects for equality, assuming that they are already of the value of this data type (i.e. parsed). More...
|
|
void | SetDefaultValue (object value) |
| Sets a default value that required occurrences of the field are to be initialised to. More...
|
|
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...
|
|
|
override bool | IsField [get, set] |
| Get/set whether this is a field. More...
|
|
override bool | IsRecord [get, set] |
| Get/set whether this is a record. More...
|
|
override bool | IsMessage [get, set] |
| Get/set whether this is a message. More...
|
|
abstract object | InitialDefaultValue [get, set] |
| Get initial default value for data type. More...
|
|
MDataType | DataType [get, set] |
| Returns the data type of the field. More...
|
|
object | DefaultValue [get, set] |
| Returns the default value that the field should be initialised to. Returns a non-null value used to initialise required fields. The type of the returned object will be the internal representation type for the data type. More...
|
|
int | Scale [get, set] |
| Gets/sets the scale of the field. More...
|
|
bool | AllowsEmpty [get, set] |
| Indicates whether the field allows an empty value when parsed from string input. More...
|
|
ICustomFieldHandler | CustomFieldHandler [get, set] |
| If the data type is CustomString, then this will return the custom string handler. More...
|
|
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...
|
|
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...
|
|
MDataType | DataType [get] |
| Returns the data type of the field. More...
|
|
object | DefaultValue [get] |
| Returns the default value that the field should be initialised to. Returns a non-null value used to initialise required fields. The type of the returned object will be the internal representation type for the data type. More...
|
|
int | Scale [get, set] |
| Gets/sets the scale of the field. More...
|
|
bool | AllowsEmpty [get, set] |
| Indicates whether the field allows an empty value when parsed from string input. More...
|
|
ICustomFieldHandler | CustomFieldHandler [get] |
| If the data type is CustomString, then this will return the custom string handler. More...
|
|
Base implementation of MField - subclassed for specific data types.
bool PushTechnology.DiffusionCore.Messaging.Data.metadata.MFieldImpl.AllowsEmpty |
|
getset |
Indicates whether the field allows an empty value when parsed from string input.
By default, MDataType.String type fields allow empty input but other types do not. This may be used to change this default behaviour.
When a field allows empty input and an empty (zero length string) is parsed, then its internal representation will be a zero-length string and not an object of the default type for the field.