Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Content.Metadata.IMStringAbstractBuilder< out T, out TB > Interface Template Reference

Abstract string field metadata builder. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Content.Metadata.IMStringAbstractBuilder< out T, out TB >:
PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeBuilder< out T, out TB > PushTechnology.ClientInterface.Client.Content.Metadata.Record.IMStringAbstractStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.Record.IMNodeBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMCustomStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMDecimalStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMIntegerStringBuilder PushTechnology.ClientInterface.Client.Content.Metadata.IMStringBuilder

Public Member Functions

TB SetDefaultValue (string value)
 Sets a default value that required occurrences of the field are to be initialised to. More...
 
TB SetAllowsEmpty (bool allowsEmpty)
 Sets the 'allowsEmpty' option for the field. More...
 

Additional Inherited Members

Detailed Description

Abstract string field metadata builder.

The is the supertype of all type-specific field metadata builders.

Template Parameters
T
TB

Member Function Documentation

TB PushTechnology.ClientInterface.Client.Content.Metadata.IMStringAbstractBuilder< out T, out TB >.SetAllowsEmpty ( bool  allowsEmpty)

Sets the 'allowsEmpty' option for the field.

By default MFieldType.STRING type fields allow empty input but other subtypes 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.

Parameters
allowsEmptytrue to allow the field to parse empty input or false if parsing of the field should fail upon encountering empty input.
Returns
This builder.
TB PushTechnology.ClientInterface.Client.Content.Metadata.IMStringAbstractBuilder< out T, out TB >.SetDefaultValue ( string  value)

Sets a default value that required occurrences of the field are to be initialised to.

Parameters
valueAn initial value.
Returns
This builder.

The documentation for this interface was generated from the following file: