Class OrderRecord

All Implemented Interfaces:
Artifact

@TypeAlias("order") public class OrderRecord extends AbstractArtifact
When a model passes data along, it retypes it, and now and then a digit changes or a date is rounded with nothing in the answer showing it. An artifact removes that chance: a tool's result the runtime keeps in a registry under a short reference. The model reads the record in full and decides which records matter, but it answers with references, and the caller gets these objects back from the registry - exactly what the tool built, however many agents stood in between.

An artifact is a plain data class extending AbstractArtifact. @TypeAlias("order") names its kind, the first part of every reference to one: «artifact:order~...». The tool that returns these does nothing else about artifacts; the runtime registers each record as the result reaches the model.

Since:
0.1 (2026-09-27)
Author:
Andrey Santrosyan
  • Constructor Details

    • OrderRecord

      public OrderRecord()
  • Method Details

    • getOrderNumber

      public String getOrderNumber()
    • setOrderNumber

      public void setOrderNumber(String orderNumber)
    • getStatus

      public String getStatus()
    • setStatus

      public void setStatus(String status)
    • getPromisedFor

      public String getPromisedFor()
    • setPromisedFor

      public void setPromisedFor(String promisedFor)
    • getNote

      public String getNote()
    • setNote

      public void setNote(String note)
    • toString

      public String toString()
      Overrides:
      toString in class AbstractArtifact