Protected_Protected_Protected_Protected Static_StaticCOLLECTIONThe backend identifier (table or collection name) representing this class.
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 overarching property schema definition inherited and merged from BaseObject.
StaticREPOSITORY_The designated repository class for this model (defaults to BaseRepository).
Returns the subcollection path for Specifications attached to this parent object.
Scheme:
Returns a plain key-value object of all specifications for interface casting and validation.
Associates a Vendor entity to this object via an ObjectVendor relationship record.
OptionalvendorSku: stringOptionalrole: stringGenerates 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
Abstract method defining the specific archetype specification schema for this object class. Must declare required and optional specification keys.
Retrieves all attached ObjectVendor relationship instances.
Retrieves all Specification instances as an array.
Returns the subcollection path for attaching N child subitems linked to this parent object.
Scheme:
Retrieves all associated Vendor entities.
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.
Sets a specification key/value pair by instantiating a Specification model.
Optionalunit: stringOptionalgroup: stringBulk populates specifications from a dictionary object.
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.
Validates that the current instance specifications comply with the archetype's required and optional properties.
True if valid; throws error if required specification properties are missing.
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.
StaticfactoryDynamically builds an instance of the class. It can hydrate from a raw data object,
an ObjectUri, or a backend string path.
The source data: a string path, an ObjectUri, or raw object data.
The specific child class constructor to instantiate.
A promise resolving to the fully constructed and hydrated 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.
Concrete Audio/Video Disk MDM Object Class (Extends AbstractMdmObject) Enforces MediaDiskSpecInterface over child Specification collection.