update from RIFT as of 696b75d2fe9fb046261b08c616f1bcf6c0b54a9b third try
[osm/UI.git] / skyquake / plugins / composer / src / src / libraries / model / descriptors / VirtualNetworkFunctionAccessPointMap.js
1 /*
2 *
3 * Copyright 2016 RIFT.IO Inc
4 *
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
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
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.
16 *
17 */
18 /**
19 * Created by onvelocity on 11/23/15.
20 */
21
22 'use strict';
23
24 import DescriptorModel from '../DescriptorModel'
25 import DescriptorModelFactory from '../DescriptorModelFactory'
26
27 export default class ConfigParameterMap extends DescriptorModel {
28
29 // <<<<<<< Updated upstream
30 // static get type() {
31 // return 'config-parameter-map';
32 // }
33
34 // static get className() {
35 // return 'ConfigParameterMap';
36 // }
37
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));
44 // }
45
46 // get id() {
47 // return this.model.id;
48 // }
49 // get capability() {
50 // return {
51 // 'member-vnf-index': this.model.capability['member-vnf-index'],
52 // 'capability-ref': this.model.capability['capability-ref'],
53 // }
54 // }
55 // get availableCapabilities() {
56
57 // }
58
59 // get dependency() {
60
61 // }
62 // =======
63 static get type() {
64 return 'config-parameter-map';
65 }
66
67 static get className() {
68 return 'ConfigParameterMap';
69 }
70 static get qualifiedType() {
71 return 'nsd.' + ConfigParameterMap.type;
72 }
73 constructor(model, parent) {
74 super(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));
79 }
80
81 get id() {
82 return this.model.id;
83 }
84 // get capability() {
85 // return {
86 // 'member-vnf-index': this.model.capability['member-vnf-index'],
87 // 'capability-ref': this.model.capability['capability-ref'],
88 // }
89 // }
90 // get availableCapabilities() {
91
92 // }
93
94 // get dependency() {
95
96 // }
97
98
99 }