Reference / Modules / client / SpecificLicense
Class: SpecificLicense
client.SpecificLicense
A Terms and Conditions element defining a specific license, where details are stored "as is".
Hierarchy
-
AbstractTermsAndConditionsElement<string>↳
SpecificLicense
Table of contents
Constructors
Accessors
Methods
Constructors
constructor
• new SpecificLicense(licenseLocId, details): SpecificLicense
Constructs a new Specific license.
Parameters
| Name | Type | Description |
|---|---|---|
licenseLocId | UUID | the ID of the defining LOC. |
details | string | details of the license, stored "as is". |
Returns
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
| Name | Type |
|---|---|
licenseLocId | UUID |
details | string |