|
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...
|
|
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...
|
|
bool PushTechnology.DiffusionCore.Messaging.Data.metadata.IMField.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.