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

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

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

Static Public Attributes

static Multiplicity NONE = new MultiplicityNone()
 Special singleton value used for nodes that have no parent. More...
 
static Multiplicity UNBOUNDED = new MultiplicityUnbounded()
 Special singleton value that may be used for nodes with multiplicity 0..n. More...
 
static Multiplicity SINGLE = new MultiplicitySingle()
 Special singleton value that may be used for nodes with multiplicity 1..1. More...
 
static int UNLIMITED = -1
 Special maximum value that indicates no maximum. More...
 

Properties

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

Member Data Documentation

Multiplicity PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.NONE = new MultiplicityNone()
static

Special singleton value used for nodes that have no parent.

Multiplicity PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.SINGLE = new MultiplicitySingle()
static

Special singleton value that may be used for nodes with multiplicity 1..1.

Multiplicity PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.UNBOUNDED = new MultiplicityUnbounded()
static

Special singleton value that may be used for nodes with multiplicity 0..n.

int PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.UNLIMITED = -1
static

Special maximum value that indicates no maximum.

Property Documentation

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.HasMaximum
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsFixed
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsRepeating
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsSingle
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsSingleOptional
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsSingleRequired
getset

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

virtual bool PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.IsVariable
getset

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

virtual int PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.Maximum
getset

Returns the maximum number of occurrences.

virtual int PushTechnology.ClientInterface.Client.Content.Metadata.Multiplicity.Minimum
getset

Returns the minimum number of occurrences.


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