import CatalogueDataObject from 'service-framework/src/catalogue-factory/CatalogueDataObject.js'
Constructor Summary
Public Constructor | ||
public |
constructor(guid: *, type: *, version: string, objectName: *, description: *, language: *, sourcePackageURL: *) Creates the Catalogue Data Object |
Member Summary
Public Members | ||
public get |
description: * |
|
public set |
description: * |
|
public get |
guid: * |
|
public set |
guid: * |
|
public set |
language: * |
|
public get |
language: * |
|
public get |
objectName: * |
|
public set |
objectName: * |
|
public get |
signature: * |
|
public set |
signature(signature: *): * Set the signature to enables integrity and authenticity verification |
|
public set |
|
|
public get |
|
|
public get |
|
|
public set |
|
|
public get |
type: * |
|
public set |
type: * |
|
public set |
version: * |
|
public get |
version: * |
Inherited Summary
From class RethinkObject | ||
public |
Validates this RethinkObject against the provided schema. |
Public Constructors
public constructor(guid: *, type: *, version: string, objectName: *, description: *, language: *, sourcePackageURL: *) source
Creates the Catalogue Data Object
Params:
Name | Type | Attribute | Description |
guid | * | Global Unique identifier of the Catalogue Object (e.g. Hyperty descriptor, ProtocolStub descriptor, etc) enabling the same object to be stored and discovered in different Catalogues. That means, guid corresponds to [resource-type-id] per BNF of Resource Path. Couldn't we have problems with too long URL paths? |
|
type | * | indicates the type of Catalogue Data Object e.g. Hyperty, ProtocolStub, etc |
|
version | string | Indicates the version of Catalogue Data |
|
objectName | * | human-understandable name of the catalogue object e.g. "My Awesome Hyperty" |
|
description | * | description of the source package |
|
language | * | the programming language used in the SourcePackage.SourceCode |
|
sourcePackageURL | * | A string containing the URL from where the source code package of the corresponding catalogue object, e.g. deployable packages containing executable code for Hyperties or ProtoStubs, can be downloaded |
Public Members
public get description: * source
public set description: * source
public get guid: * source
public set guid: * source
public set language: * source
public get language: * source
public get objectName: * source
public set objectName: * source
public get signature: * source
public set signature(signature: *): * source
Set the signature to enables integrity and authenticity verification