API Reference
classes
Smartliteral

@coasys/ad4m / Exports / SmartLiteral

Class: SmartLiteral

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new SmartLiteral(perspective, base)

Parameters

NameType
perspectivePerspectiveProxy
basestring

Defined in

SmartLiteral.ts:23

Properties

#base

Private #base: string

Defined in

SmartLiteral.ts:21


#perspective

Private #perspective: PerspectiveProxy

Defined in

SmartLiteral.ts:20

Accessors

base

get base(): string

Returns

string

Defined in

SmartLiteral.ts:28

Methods

get

get(): Promise<any>

Returns

Promise<any>

Defined in

SmartLiteral.ts:54


set

set(content): Promise<void>

Parameters

NameType
contentany

Returns

Promise<void>

Defined in

SmartLiteral.ts:67


create

Static create(perspective, literal): Promise<SmartLiteral>

Parameters

NameType
perspectivePerspectiveProxy
literalany

Returns

Promise<SmartLiteral>

Defined in

SmartLiteral.ts:32


getAllSmartLiterals

Static getAllSmartLiterals(perspective): Promise<SmartLiteral[]>

Parameters

NameType
perspectivePerspectiveProxy

Returns

Promise<SmartLiteral[]>

Defined in

SmartLiteral.ts:47


isSmartLiteralBase

Static isSmartLiteralBase(perspective, base): Promise<boolean>

Parameters

NameType
perspectivePerspectiveProxy
basestring

Returns

Promise<boolean>

Defined in

SmartLiteral.ts:39