Skip to main content

Reference / Modules / client / SpecificLicense

Class: SpecificLicense

client.SpecificLicense

A Terms and Conditions element defining a specific license, where details are stored "as is".

Hierarchy​

Table of contents​

Constructors​

Accessors​

Methods​

Constructors​

constructor​

• new SpecificLicense(licenseLocId, details): SpecificLicense

Constructs a new Specific license.

Parameters​

NameTypeDescription
licenseLocIdUUIDthe ID of the defining LOC.
detailsstringdetails of the license, stored "as is".

Returns​

SpecificLicense

Overrides​

AbstractTermsAndConditionsElement.constructor

Defined in​

packages/client/src/license/SpecificLicense.ts:16

Accessors​

details​

• get details(): string

The serialized details.

Returns​

string

Overrides​

AbstractTermsAndConditionsElement.details

Defined in​

packages/client/src/license/SpecificLicense.ts:24


parameters​

• get parameters(): P

Provides the parameters.

Returns​

P

the parameters.

Inherited from​

AbstractTermsAndConditionsElement.parameters

Defined in​

packages/client/src/license/TermsAndConditions.ts:60


tcLocId​

• get tcLocId(): UUID

The id of the LOC enabling the usage of this T&C.

Returns​

UUID

Inherited from​

AbstractTermsAndConditionsElement.tcLocId

Defined in​

packages/client/src/license/TermsAndConditions.ts:52


type​

• get type(): "logion_classification" | "specific_license" | "CC4.0"

The type of this T&C element.

Returns​

"logion_classification" | "specific_license" | "CC4.0"

Inherited from​

AbstractTermsAndConditionsElement.type

Defined in​

packages/client/src/license/TermsAndConditions.ts:48

Methods​

fromDetails​

▸ fromDetails(licenseLocId, details): SpecificLicense

Parameters​

NameType
licenseLocIdUUID
detailsstring

Returns​

SpecificLicense

Defined in​

packages/client/src/license/SpecificLicense.ts:20