Class OrderRecord
java.lang.Object
ai.redouble.nucleo.harness.artifacts.AbstractArtifact
ai.redouble.examples.artifacts.OrderRecord
- All Implemented Interfaces:
Artifact
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNote()voidvoidsetOrderNumber(String orderNumber) voidsetPromisedFor(String promisedFor) voidtoString()Methods inherited from class AbstractArtifact
cacheSummary, getArtifactRef, getCachedSummary, hasReference, setArtifactRef
-
Constructor Details
-
OrderRecord
public OrderRecord()
-
-
Method Details
-
getOrderNumber
-
setOrderNumber
-
getStatus
-
setStatus
-
getPromisedFor
-
setPromisedFor
-
getNote
-
setNote
-
toString
- Overrides:
toStringin classAbstractArtifact
-