ProtectedconstructorStatic ReadonlyAUTO_StaticInstanceAllocates and stamps sequence numbers for all blank auto-numbered fields on an unsaved entity.
Returns the list of field names populated during this call.
Deterministically derives the partition ScopeKey for a policy and entity instance.
Clears system-assigned markers and prior-value snapshots for entity (invoked on NewRecord()).
Renders policy.pattern with the allocated integer sequenceNumber.
The Global Object Store is a place to store global objects that need to be shared across the application. Depending on the execution environment, this could be the window object in a browser, or the global object in a node environment, or something else in other contexts. The key here is that in some cases static variables are not truly shared because it is possible that a given class might have copies of its code in multiple paths in a deployed application. This approach ensures that no matter how many code copies might exist, there is only one instance of the object in question by using the Global Object Store.
Returns true when an unsaved entity has at least one auto-numbered target field that is blank
and will require counter allocation during Save().
Whether ResolverBase.UpdateRecord MUST load the authoritative stored row from the database
to prevent clients from spoofing OldValues___ on immutableAfterCreate auto-numbered fields.
Returns true when any active auto-number policy on entityInfo requests gap-free transactional
wrapping (default true).
Reverts system-assigned field values on entity back to their pre-allocation state (typically null)
when a save or transaction group fails and rolls back.
OptionalfieldNames: readonly string[]Validates manual overrides on new records (Forbid vs AllowNonColliding reserved-namespace check)
and enforces post-create immutability on saved records.
Returns true when fieldName on entityInfo is governed by an active auto-number policy,
allowing BaseEntity.Validate() to suppress the pre-save cannot be null error on new records.
Protected StaticgetReturns the singleton instance of the class. If the instance does not exist, it is created and stored in the Global Object Store. If className is provided it will be used as part of the key in the Global Object Store, otherwise the actual class name will be used. NOTE: the class name used by default is the lowest level of the object hierarchy, so if you have a class that extends another class, the lowest level class name will be used.
OptionalclassName: string
Singleton engine coordinating declarative and programmatic document auto-numbering policies.