Static
Readonly
_listList of meta objects, stored as reference values.
Static
Readonly
countTotal number of currently registered meta objects.
Static
Readonly
namespaceNamespace manager for meta objects.
Static
createCreates a meta object for a GUID object.
Object of type GUID.
Optional
origin: objectThis is the original object setting the current object. Default is 'oGuid'.
Returns the created meta object.
Static
createStatic
createCreates a reference object for a GUID object.
This is a meta object.
Returns the generated reference object.
Static
findLocate the meta object in the registry.
A GUID object or a GUID string to be retrieved.
Returns the found meta object or 'undefined'.
Static
findStatic
findLocate the set GUID object in the source object.
The GUID value or GUID object to be queried.
Original object.
Returns the queried meta object.
Static
getStatic
hasStatic
hasStatic
hasStatic
initStatic
isStatic
isStatic
loadPars the serialized GUID string to convert it to 'MetaObject'.
Serialized GUID string.
Optional
parse: FunctionJSON parser function. Default is 'JSON.parse'.
Returns parsed meta objects.
Static
registerRegister the meta object and register the creator in the namespace. An exception occurs if an object is already registered. Register if there is no creator in the Namespace.
Meta object to register.
Static
registerStatic
releaseUndoes the meta object in the registry.
A meta object or GUID string to release.
Returns successful release.
Static
releaseStatic
setSet the GUID of the meta object in the GUID object.
Object of type GUID.
A meta object with a GUID.
Returns the set object.
Static
transformStatic
validValidates the GUID object. Validation includes:
The GUID object to be inspected.
Returns whether a GUID object exists.
The 'MetaRegistry' class is responsible for registering and managing meta objects. This class provides a variety of functions to register, release, search, and reference meta objects.
Static