Commit 62035e1a authored by Grand Francois's avatar Grand Francois
Browse files

#48 BaseParam, ParamValues : ajout d'un getter sur la propriété referencedObject

Showing with 8 additions and 0 deletions
+8 -0
......@@ -264,6 +264,10 @@ export class BaseParam extends JalhydObject implements IObjectReference, Iterabl
return this._paramValues.referenceDesc;
}
public get referencedObject(): IReferencedObject {
return this._paramValues.referencedObject;
}
public get isReferenceDefined(): boolean {
return this._paramValues.isReferenceDefined;
}
......
......@@ -284,6 +284,10 @@ export class ParamValues implements IObjectReference, IterableValues {
this._valueRef.defineReference(target, desc);
}
public get referencedObject(): IReferencedObject {
return this._valueRef.referencedObject;
}
public get referenceDesc(): string {
return this._valueRef.referenceDesc;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment