Table of Contents

Class AttributeBinding

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

Binds a SimpleAttribute or ComplexAttribute to a FeatureType or InformationType, with the multiplicity and value restrictions that apply to it on that type. Parsed from an S100FC:attributeBinding element.

public sealed class AttributeBinding
Inheritance
AttributeBinding
Inherited Members

Properties

AttributeRef

Code of the bound simple or complex attribute, from the ref attribute of the attribute child element (e.g. "depthRangeMinimumValue").

public required string AttributeRef { get; init; }

Property Value

string

Multiplicity

How many values of the attribute the owning type may carry (multiplicity).

public required Multiplicity Multiplicity { get; init; }

Property Value

Multiplicity

PermittedValues

Listed-value codes the owning type restricts an enumerated attribute to, from permittedValues/value. Empty when the binding places no restriction.

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

Property Value

IReadOnlyList<string>

Sequential

true when the binding's sequential XML attribute is "true", i.e. the order of repeated values is significant; false when the attribute is absent or any other value.

public bool Sequential { get; init; }

Property Value

bool