Home Reference Source Test
public class | source

CatalogueDataObject

Extends:

RethinkObject → CatalogueDataObject

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
public set
public get

guid: *

public set

guid: *

public set
public get
public get
public set
public get
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

validate(schema: *): boolean

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:

NameTypeAttributeDescription
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

public set sourcePackage: * source

public get sourcePackage: * source

public get sourcePackageURL: * source

public set sourcePackageURL: * source

public get type: * source

public set type: * source

public set version: * source

public get version: * source