2 * STANDARD_RIFT_IO_COPYRIGHT
5 * Created by onvelocity on 11/23/15.
10 import DescriptorModel from '../DescriptorModel'
11 import DescriptorModelFactory from '../DescriptorModelFactory'
13 export default class InternalConnectionPointRef extends DescriptorModel {
16 return 'internal-connection-point-ref';
19 static get className() {
20 return 'InternalConnectionPointRef';
23 static get qualifiedType() {
24 return 'vnfd.internal-vld.' + InternalConnectionPointRef.type;
27 constructor(m, parent) {
28 super(!m || typeof m === 'string' ? {id: m, isLeaf: true} : m, parent);
30 this.type = InternalConnectionPointRef.type;
31 this.uiState['qualified-type'] = InternalConnectionPointRef.qualifiedType;
32 this.className = InternalConnectionPointRef.className;
36 return this.valueOf();
40 return this.parent.removeInternalConnectionPointRefForId(this.id);