Skip to main content
保存された Weave オブジェクトへの参照を表します。 通常、エンドユーザーがこのクラスを直接扱う必要はありません。 ObjectRef には、保存されたオブジェクトを Weave のストレージシステム内で一意に識別するための プロジェクト ID、オブジェクト ID、ダイジェストが含まれます。

コンストラクター

new ObjectRef(projectId, objectId, digest): ObjectRef

パラメーター

string
必須
string
必須
string
必須

戻り値

ObjectRef

プロパティ

ダイジェスト

ダイジェスト: string

objectId

objectId: string

projectId

projectId: string

method

get()

get(): Promise<any>

戻り値

Promise<any>

ui_url()

ui_url(): string

戻り値

string

uri()

uri(): string

戻り値

string

fromUri()

static fromUri(uri): ObjectRef
Weave URI 文字列から ObjectRef を作成します。

パラメーター

string
必須
以下の形式の Weave URI: weave:///entity/project/object/name:digest

戻り値

ObjectRef 新しい ObjectRef インスタンス

Throws

URI 形式が無効、または object ref ではない場合はエラー