c3d5d9593e49f412b150aaf9fc2fbe009deca543
[osm/riftware.git] /
1 /*
2  * STANDARD_RIFT_IO_COPYRIGHT
3  */
4 /**
5  * Created by onvelocity on 11/23/15.
6  */
7
8 'use strict';
9
10 import DescriptorModel from '../DescriptorModel'
11
12 export default class PhysicalNetworkFunction extends DescriptorModel {
13
14         static get type() {
15                 return 'pnfd';
16         }
17
18         static get className() {
19                 return 'PhysicalNetworkFunction';
20         }
21
22         constructor(model, parent) {
23                 super(model, parent);
24                 this.type = 'pnfd';
25                 this.className = 'PhysicalNetworkFunction';
26         }
27
28         get connectionPoint() {
29                 if (this.model && this.model['connection-points']) {
30                         return this.model['connection-points'];
31                 }
32                 return [];
33         }
34
35 }