Class S131ResolvedReference
A typed cross-reference from an S-131 object to another object in the
same dataset, recovered from an xlink:href attribute on a
role-bearing child element.
public sealed class S131ResolvedReference
- Inheritance
-
S131ResolvedReference
- Inherited Members
Remarks
The role is preserved verbatim from the source GML (e.g.
"theContactDetails", "applicability"). Target
is the resolved typed peer; it is null when the
xlink:href did not resolve (a xlink.unresolved diagnostic
is also emitted) or when the source feature has been projected before
its target was constructed (this latter case does not occur in the
current two-pass projection — see From(S131Dataset, out IReadOnlyList<ProjectionDiagnostic>)).
TargetRef exposes the original gml:id of the
target so that consumers can record a stable identifier even when
resolution failed.
Properties
Role
The role / association name on the source GML element.
public required string Role { get; init; }
Property Value
Target
The resolved typed peer — an IS131Feature or
IS131InformationType — or null when the
reference did not resolve.
public object? Target { get; init; }
Property Value
TargetRef
The target gml:id (without leading #).
public required string TargetRef { get; init; }