Page Contents
Home > @loopback/metadata > NamespacedReflect
NamespacedReflect class
Signature:
export declare class NamespacedReflect
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(namespace) | Constructs a new instance of the NamespacedReflect class |
Methods
Method | Modifiers | Description |
---|---|---|
decorate(decorators, target, targetKey, descriptor) | ||
decorate(decorators, target) | ||
defineMetadata(metadataKey, metadataValue, target, propertyKey) | define metadata for a target class or it’s property/method | |
deleteMetadata(metadataKey, target, propertyKey) | ||
getMetadata(metadataKey, target, propertyKey) | lookup metadata from a target object and its prototype chain | |
getMetadataKeys(target, propertyKey) | ||
getOwnMetadata(metadataKey, target, propertyKey) | get own metadata for a target object or it’s property/method | |
getOwnMetadataKeys(target, propertyKey) | ||
hasMetadata(metadataKey, target, propertyKey) | Check if the target has corresponding metadata | |
hasOwnMetadata(metadataKey, target, propertyKey) | ||
metadata(metadataKey, metadataValue) |