- return this.updateModelList('internal-connection-point-ref', connections, DescriptorModelFactory.InternalConnectionPointRef);
+ return this.updateModelList('internal-connection-point', connections, DescriptorModelFactory.InternalConnectionPointRef);
+ }
+
+ createInternalConnectionPoint(model) {
+ model = model || DescriptorModelMetaFactory.createModelInstanceForType('vnfd.internal-vld.internal-connection-point');
+ return this.connection = DescriptorModelFactory.newInternalConnectionPointRef(model, this);
+ }
+
+ removeInternalConnectionPointRefForIdRefKey(cpRefKey) {
+ const child = this.connection.filter(d => d.key === cpRefKey)[0];
+ return this.removeModelListItem('connection', child);