Class MetricViewObjectBase
- Inheritance
-
MetricViewObjectBase
- Implements
- Derived
- Inherited Members
- Assembly
- SemanticBridge.dll
Abstract base class for the named child objects of a View (joins, fields, measures). The root View is not a child and stands outside this hierarchy; the surface shared with it is expressed through IMetricViewObject.
public abstract class MetricViewObjectBase : IMetricViewNamedObject, IMetricViewObject
- Extension Methods
Properties
IsDeleted
Indicates whether this object has been deleted from its parent collection. Deleted objects become "zombies" - they retain their data but are detached from the model.
[Browsable(false)]
public bool IsDeleted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
The name of this object, used for name-based indexing in the owning collection. Declared abstract so each concrete class carries its own type-specific documentation on the override.
public abstract string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
public abstract string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
View
Reference to the root View object this child belongs to. Constructor-established: never null, immutable for the object's lifetime. Deleted objects keep it, so Path and property reads stay valid on zombies.
public View View { get; }
Property Value
| Type | Description |
|---|---|
| View |
Methods
Delete()
Deletes this object from its owning collection. Idempotent: calls after the first are no-ops. The deleted object becomes a zombie -- IsDeleted is true, it no longer serializes, and its properties (including View and Path) remain readable.
public void Delete()