Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity Interface Reference

Defines the multiplicity of a metadata node within its parent. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity:
PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity

Properties

int Minimum [get]
 Returns the minimum number of occurrences. More...
 
int Maximum [get]
 Returns the maximum number of occurrences. More...
 
bool HasMaximum [get]
 Indicates whether there is a maximum number of occurrences (i.e. maximum not -1). More...
 
bool IsRepeating [get]
 Indicates whether this is a 'repeating' multiplicity meaning it defines more than one possible occurrence. More...
 
bool IsSingle [get]
 Indicates whether this is a 'single' multiplicity meaning that only one (or zero if optional) occurrences can exist. More...
 
bool IsSingleRequired [get]
 Indicates whether this is a 'single required' multiplicity (i.e. a multiplicity of 1). More...
 
bool IsSingleOptional [get]
 Indicates whether this is a 'single optional' multiplicity (i.e. a multiplicity of 0..1). More...
 
bool IsFixed [get]
 Indicates whether this is a fixed multiplicity (i.e. the minimum and maximum values are the same). More...
 
bool IsVariable [get]
 Indicates whether this is variable multiplicity (i.e. the minimum and maximum values are different). More...
 

Detailed Description

Defines the multiplicity of a metadata node within its parent.

Multiplicity describes the number of times that the node may occur and is defined in terms of a minimum and maximum value. The minimum value may be zero or positive and the maximum must be greater than or equal to the minimum and greater than 0. A special maximum of -1 (or unbounded) is used to indicate that there is no limit on the maximum number of occurrences. Note that -1 is represented by a '*' in standard UML notation.

Typical multiplicity values are:

0..1 zero or one instance (single optional) 1 exactly one instance (single required) 0..* zero or more instances (repeated optional) 1..* one or more instances (repeated required)

Instances of multiplicity cannot be explicitly created but are returned from metadata definitions. The multiplicity of a node is typically defined when it is added to a parent group (e.g. IMGroupBuilder{T,TB}.Add(IMNode, int, int)).

Property Documentation

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.HasMaximum
get

Indicates whether there is a maximum number of occurrences (i.e. maximum not -1).

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsFixed
get

Indicates whether this is a fixed multiplicity (i.e. the minimum and maximum values are the same).

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsRepeating
get

Indicates whether this is a 'repeating' multiplicity meaning it defines more than one possible occurrence.

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsSingle
get

Indicates whether this is a 'single' multiplicity meaning that only one (or zero if optional) occurrences can exist.

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsSingleOptional
get

Indicates whether this is a 'single optional' multiplicity (i.e. a multiplicity of 0..1).

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsSingleRequired
get

Indicates whether this is a 'single required' multiplicity (i.e. a multiplicity of 1).

bool PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.IsVariable
get

Indicates whether this is variable multiplicity (i.e. the minimum and maximum values are different).

int PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.Maximum
get

Returns the maximum number of occurrences.

int PushTechnology.ClientInterface.Client.Content.Metadata.IMNodeMultiplicity.Minimum
get

Returns the minimum number of occurrences.


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