Page Contents

Home > @loopback/metadata > NamespacedReflect

NamespacedReflect class

Signature:

export declare class NamespacedReflect 

Constructors

Constructor Modifiers Description
[(constructor)(namespace)](/doc/en/lb4/apidocs.metadata.namespacedreflect._constructor_.html) Constructs a new instance of the `NamespacedReflect` class

Methods

Method Modifiers Description
[decorate(decorators, target, targetKey, descriptor)](/doc/en/lb4/apidocs.metadata.namespacedreflect.decorate.html)
[decorate(decorators, target)](/doc/en/lb4/apidocs.metadata.namespacedreflect.decorate_1.html)
[defineMetadata(metadataKey, metadataValue, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.definemetadata.html) define metadata for a target class or it's property/method
[deleteMetadata(metadataKey, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.deletemetadata.html)
[getMetadata(metadataKey, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.getmetadata.html) lookup metadata from a target object and its prototype chain
[getMetadataKeys(target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.getmetadatakeys.html)
[getOwnMetadata(metadataKey, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.getownmetadata.html) get own metadata for a target object or it's property/method
[getOwnMetadataKeys(target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.getownmetadatakeys.html)
[hasMetadata(metadataKey, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.hasmetadata.html) Check if the target has corresponding metadata
[hasOwnMetadata(metadataKey, target, propertyKey)](/doc/en/lb4/apidocs.metadata.namespacedreflect.hasownmetadata.html)
[metadata(metadataKey, metadataValue)](/doc/en/lb4/apidocs.metadata.namespacedreflect.metadata.html)