GovernanceEntry<G extends Governance<V>, V> class

A strongly-typed key-value pair that represents a single dimension of governance within the framework's Scene-Driven Ontology.

GovernanceEntry pairs a Governance key (such as Ontology.taxonomy or Provenance.actor) with a typed value. It is the fundamental building block for constructing Contexts, DeputyContexts, and PulseContexts in a type-safe manner.

When to use

You'll almost always create entries via the .entry() method on a governance enum, like Ontology.taxonomy.entry('Processor'). This class is just the data container – you don't need to construct it manually.

How it works

Each entry pairs a dimension key with a typed value. The framework uses these internally to build context records.

Type Parameters

See also:

  • Governance: The interface that defines governance dimensions.
  • Context: The operational environment built from governance entries.
  • DeputyContext: The mandate profile for delegated authority.

Constructors

GovernanceEntry(G key, V value)
Creates a new GovernanceEntry with the specified key and value.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → G
The governance dimension (key) for this entry.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → V
The typed value associated with this governance dimension.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toEntry() → MapEntry<G, V>
Converts this entry to a standard MapEntry for use in collections.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited