Class NToM
Represents a N to M cardinality restriction on a Path.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRDF.dll
Syntax
public class NToM : Cardinality, ISparqlPath
Constructors
| Improve this Doc View SourceNToM(ISparqlPath, Int32, Int32)
Creates a new N to M cardinality restriction.
Declaration
public NToM(ISparqlPath path, int n, int m)
Parameters
Type | Name | Description |
---|---|---|
ISparqlPath | path | Path. |
System.Int32 | n | Minimum Cardinality. |
System.Int32 | m | Maximum Cardinality. |
Properties
| Improve this Doc View SourceMaxCardinality
Gets the Maximum Cardinality of the Path.
Declaration
public override int MaxCardinality { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
| Improve this Doc View SourceMinCardinality
Gets the Minimum Cardinality of the Path.
Declaration
public override int MinCardinality { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Overrides
Methods
| Improve this Doc View SourceToAlgebra(PathTransformContext)
Converts a Path into its Algebra Form.
Declaration
public override ISparqlAlgebra ToAlgebra(PathTransformContext context)
Parameters
Type | Name | Description |
---|---|---|
PathTransformContext | context | Path Transformation Context. |
Returns
Type | Description |
---|---|
ISparqlAlgebra |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the Path.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |