Interface IElement
The public interface for Element
[DefaultImplementationType(typeof(Element))]
[XmlDefaultImplementationType(typeof(Element))]
[ModelRepresentationClass("http://www.omg.org/spec/MOF/20131001/cmof.xmi#//Element")]
public interface IElement : IObject, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
OwnedComment
The Comments owned by this element.
[Browsable(false)]
[XmlElementName("ownedComment")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IComment> OwnedComment { get; }
Property Value
Methods
AllOwnedElements()
The query allOwnedElements() gives all of the direct and indirect owned elements of an element. result = ownedElement->union(ownedElement->collect(e | e.allOwnedElements()))
ISetExpression<IElement> AllOwnedElements()
Returns
Container()
IElement Container()
Returns
Delete()
void Delete()
GetMetaClass()
IClass GetMetaClass()
Returns
Has_owner(object, object)
Elements that must be owned must have an owner. self.mustBeOwned() implies owner->notEmpty()
bool Has_owner(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
IsInstanceOfType(IClass, bool)
bool IsInstanceOfType(IClass type, bool includesSubtypes)
Parameters
Returns
MustBeOwned()
The query mustBeOwned() indicates whether elements of this type must have an owner. Subclasses of Element that do not require an owner must override this operation. result = true
bool MustBeOwned()
Returns
Not_own_self(object, object)
An element may not directly or indirectly own itself. not self.allOwnedElements()->includes(self)
bool Not_own_self(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.