3 * Copyright 2016 RIFT.IO Inc
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 * Created by onvelocity on 11/23/15.
24 import DescriptorModel
from '../DescriptorModel'
25 import DescriptorModelFactory
from '../DescriptorModelFactory'
27 export default class ConfigParameterMap
extends DescriptorModel
{
29 // <<<<<<< Updated upstream
30 // static get type() {
31 // return 'config-parameter-map';
34 // static get className() {
35 // return 'ConfigParameterMap';
38 // constructor(model, parent) {
39 // super(model, parent);
40 // this.type = 'config-parameter-map';
41 // this.uiState['qualified-type'] = 'nsd.config-parameter-map';
42 // this.className = 'ConfigParameterMap';
43 // // this.addProp('vnfdRef', DescriptorModelFactory.newVirtualNetworkFunctionReadOnlyWrapper({}, this));
47 // return this.model.id;
51 // 'member-vnf-index': this.model.capability['member-vnf-index'],
52 // 'capability-ref': this.model.capability['capability-ref'],
55 // get availableCapabilities() {
64 return 'config-parameter-map';
67 static get className() {
68 return 'ConfigParameterMap';
70 static get qualifiedType() {
71 return 'nsd.' + ConfigParameterMap
.type
;
73 constructor(model
, parent
) {
75 this.type
= 'config-parameter-map';
76 this.uiState
['qualified-type'] = 'nsd.config-parameter-map';
77 this.className
= 'ConfigParameterMap';
78 // this.addProp('vnfdRef', DescriptorModelFactory.newVirtualNetworkFunctionReadOnlyWrapper({}, this));
86 // 'member-vnf-index': this.model.capability['member-vnf-index'],
87 // 'capability-ref': this.model.capability['capability-ref'],
90 // get availableCapabilities() {