SchemaOperation
class in package klyn.data

    public final class SchemaOperation:

SchemaOperation

Immutable provider schema operation contained in a SchemaPlan.

Operations expose their rendered command for inspection and auditing. User values are never embedded in schema commands; all identifiers originate from validated mapping metadata.

    print(operation.description)
    print(operation.command)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | command `command as String` | Provider command, such as one SQL DDL statement.
public readonly property | description `description as String` | Human-readable operation description.
public readonly property | destructive `destructive as Boolean` | Whether applying the operation may destroy data or structures.
public readonly property | entityType `entityType as Type` | Entity whose physical structure is affected.
public readonly property | executable `executable as Boolean` | Whether the selected provider can execute this operation directly.
public readonly property | kind `kind as SchemaOperationKind` | Canonical operation category.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | SchemaOperation `SchemaOperation( kind as SchemaOperationKind, entityType as Type, description as String, command as String, destructive as Boolean = false, executable as Boolean = true ):` | Creates one immutable schema operation.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public override | toString `toString() as String:` | Returns the human-readable operation description.