diff options
Diffstat (limited to 'catalog-ui/src/app/models/tosca-get-function.ts')
-rw-r--r-- | catalog-ui/src/app/models/tosca-get-function.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/catalog-ui/src/app/models/tosca-get-function.ts b/catalog-ui/src/app/models/tosca-get-function.ts index 97497fc948..2386338c98 100644 --- a/catalog-ui/src/app/models/tosca-get-function.ts +++ b/catalog-ui/src/app/models/tosca-get-function.ts @@ -21,8 +21,11 @@ import {PropertySource} from "./property-source"; import {ToscaGetFunctionType} from "./tosca-get-function-type"; +import {ToscaFunction} from "./tosca-function"; +import {ToscaFunctionType} from "./tosca-function-type.enum"; -export class ToscaGetFunction { +export class ToscaGetFunction implements ToscaFunction { + type: ToscaFunctionType; propertyUniqueId: string; propertyName: string; propertySource: PropertySource; @@ -30,6 +33,7 @@ export class ToscaGetFunction { sourceName: string; functionType: ToscaGetFunctionType; propertyPathFromSource: Array<string>; + value: any constructor(toscaGetFunction?: ToscaGetFunction) { if (!toscaGetFunction) { @@ -45,4 +49,5 @@ export class ToscaGetFunction { this.propertyPathFromSource = [...toscaGetFunction.propertyPathFromSource]; } } + }
\ No newline at end of file |