Skip to content

Class: DocumentSlice

Editor lifecycle state including dirty tracking and undo history

URI: debrief:class/DocumentSlice

 classDiagram
    class DocumentSlice
    click DocumentSlice href "../../classes/DocumentSlice/"
      DocumentSlice : dirty

      DocumentSlice : savePath


Slots

Name Cardinality and Range Description Inheritance
dirty 1
Boolean
Unsaved changes exist - ephemeral (FR-020) direct
savePath 0..1
String
Last save location direct

Usages

used by used in type used
SessionState document range DocumentSlice

Identifier and Mapping Information

Schema Source

  • from schema: https://debrief.info/schemas/debrief

Mappings

Mapping Type Mapped Value
self debrief:DocumentSlice
native debrief:DocumentSlice

LinkML Source

Direct

name: DocumentSlice
description: Editor lifecycle state including dirty tracking and undo history
from_schema: https://debrief.info/schemas/debrief
attributes:
  dirty:
    name: dirty
    description: Unsaved changes exist - ephemeral (FR-020)
    from_schema: https://debrief.info/schemas/session-state
    rank: 1000
    domain_of:
    - DocumentSlice
    range: boolean
    required: true
  savePath:
    name: savePath
    description: Last save location
    from_schema: https://debrief.info/schemas/session-state
    rank: 1000
    domain_of:
    - DocumentSlice
    range: string

Induced

name: DocumentSlice
description: Editor lifecycle state including dirty tracking and undo history
from_schema: https://debrief.info/schemas/debrief
attributes:
  dirty:
    name: dirty
    description: Unsaved changes exist - ephemeral (FR-020)
    from_schema: https://debrief.info/schemas/session-state
    rank: 1000
    alias: dirty
    owner: DocumentSlice
    domain_of:
    - DocumentSlice
    range: boolean
    required: true
  savePath:
    name: savePath
    description: Last save location
    from_schema: https://debrief.info/schemas/session-state
    rank: 1000
    alias: savePath
    owner: DocumentSlice
    domain_of:
    - DocumentSlice
    range: string