Class ModelCommitValidator

java.lang.Object
io.fluxzero.common.api.modeling.ModelCommitValidator

public final class ModelCommitValidator extends Object
Structural validation for the independent-model wire protocol.

Keeping this validation with the protocol types ensures local clients, test servers and runtimes reject malformed model requests consistently.

  • Method Details

    • validate

      public static void validate(CommitModels commit)
      Validates the structural model-commit wire contract.
    • validate

      public static void validate(GetModelEvents request)
      Validates one public batch model-stream read.
    • validate

      public static void validate(GetModelGraph request)
      Validates one temporal model-graph request, including optional caller-imposed bounds.
    • validate

      public static void validate(GetModelChange request)
      Validates one durable model-change lookup.
    • validate

      public static void validate(PlanModelDeletion request)
      Validates one bounded model hard-deletion dry run.
    • validate

      public static void validate(DeleteModel request)
      Validates one explicit model hard-deletion command.
    • validateModelId

      public static void validateModelId(String modelId)
      Validates an exact persisted model identity.
    • validateStateIndex

      public static void validateStateIndex(long stateIndex)
      Validates a namespace model-state boundary.