/// <summary> /// Adds the given element to the collection /// </summary> /// <param name="item">The item to add</param> public override void Add(IModelElement item) { if ((this._parent.EOpposite == null)) { IEReference eOppositeCasted = item.As <IEReference>(); if ((eOppositeCasted != null)) { this._parent.EOpposite = eOppositeCasted; return; } } IEAttribute eKeysCasted = item.As <IEAttribute>(); if ((eKeysCasted != null)) { this._parent.EKeys.Add(eKeysCasted); } if ((this._parent.Refines == null)) { IEReference refinesCasted = item.As <IEReference>(); if ((refinesCasted != null)) { this._parent.Refines = refinesCasted; return; } } }
/// <summary> /// Creates a new observable property access proxy /// </summary> /// <param name="modelElement">The model instance element for which to create the property access proxy</param> public ResolveProxiesProxy(IEReference modelElement) : base(modelElement) { }
/// <summary> /// Creates a new observable property access proxy /// </summary> /// <param name="modelElement">The model instance element for which to create the property access proxy</param> public ContainmentProxy(IEReference modelElement) : base(modelElement) { }