Protected_Protected Static_StaticCOLLECTIONThe underlying database collection or table name.
StaticLABEL_Which property's value to use in backend as label for object reference
StaticPARENT_The name of the property handling hierarchical parent relationships.
StaticPROPS_The schema definition dictating the properties of this model.
StaticREPOSITORY_The designated repository class for this model (defaults to BaseRepository).
Generates a lightweight Reference representation of the object. Commonly used for NoSQL or object relational mapping.
A standardized object reference.
Deletes the object from the backend database.
By default, it performs a soft-delete (modifying the status property) unless hardDelete is enabled.
If true, permanently removes the record from the database.
A promise resolving to the underlying DataObjectClass.
Return property object matching key
string
Checks if a property exists on the data object.
The property key.
True if the property exists.
Creates a chained query for child records originating from the current instance. Used mainly for NoSQL backends to query subcollections seamlessly.
The child class definition (e.g., LogModel) to query.
A new Query builder scoped to this parent instance.
Persists the current state of the object to the configured backend database. Triggers creation or update operations depending on whether the object already exists.
A promise resolving to the instance itself for chaining.
Proxies a set command to the underlying data object.
The property key.
The value to assign.
The DataObject instance for chaining.
Serializes the current object path / identity.
The JSON serialized ObjectUri.
Fetches the value of a property.
The property key.
The property value or null if undefined.
Validates the object's properties against the model definition. Throws a ValidationError if any mandatory properties are missing or empty.
StaticdaoOrchestrates the creation of a DataObject linked to this class schema. Can dynamically read state from the backend if a URI is provided.
The initialization source (ObjectUri, string path, or existing DAO).
The child class definition.
A promise resolving to the fully instantiated DataObject.
StaticfactoryInstantiates a new StudioStorage or loads one from the database.
Initial data or an existing URI/ID.
A promise resolving to the model instance.
StaticfillMerges the parent class property definitions with the child's explicit properties.
The specific child class.
A factory-initialized DataObject representing the merged structure.
StaticfromFetches and hydrates an object directly from its backend storage path via the repository facade.
The backend unique identifier or full URI path (e.g. "users/123" or "123").
A promise resolving to the populated class instance.
StaticfromInstantiates from a DataObject
StaticfromInstantiates from an object
StaticgetLooks up a property definition by its name from the merged PROPS_DEFINITION.
The property name.
The property definition object if found.
StaticqueryInitializes a static query builder for the current class.
A new Query builder scoped to the current collection.
StaticregisterRegisters an explicit repository instance for this model class.
The repository instance to register.
StaticrepositoryRetrieves the pre-bound repository instance for this model class. Dynamically instantiates the default or customized BaseRepository if not already cached.
The bound BaseRepository instance.
Core domain model representing a StudioStorage within the Quatrain Studio ecosystem.