Table of Contents

Class FeatureBinding

Namespace
EncDotNet.S100.Features
Assembly
EncDotNet.S100.Features.dll

Declares that a FeatureType may be linked, through a FeatureAssociation and one of its Roles, to one or more feature types. Parsed from an S100FC:featureBinding element.

public sealed class FeatureBinding
Inheritance
FeatureBinding
Inherited Members

Properties

AssociationRef

Code of the FeatureAssociation, from the ref attribute of the association child element.

public required string AssociationRef { get; init; }

Property Value

string

FeatureTypeRef

The first feature type the binding admits (see FeatureTypeRefs).

public required string FeatureTypeRef { get; init; }

Property Value

string

FeatureTypeRefs

Every feature type the binding admits, in catalogue order. A binding may list several (S-401, for instance, lets one AdditionalInformation binding reach five information types); FeatureTypeRef is the first.

public IReadOnlyList<string> FeatureTypeRefs { get; init; }

Property Value

IReadOnlyList<string>

Multiplicity

How many associated feature type instances the owning type may reference (multiplicity).

public required Multiplicity Multiplicity { get; init; }

Property Value

Multiplicity

RoleRef

Code of the Role the target plays in the association, from the ref attribute of the role child element.

public required string RoleRef { get; init; }

Property Value

string

RoleType

Kind of relationship, from the binding's roleType XML attribute (e.g. "association", "aggregation" or "composition"), or null when the attribute is absent.

public string? RoleType { get; init; }

Property Value

string