Interface IClass
The public interface for Class
[DefaultImplementationType(typeof(Class))]
[XmlDefaultImplementationType(typeof(Class))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//Class")]
public interface IClass : IClassifier, IType, IPackageableElement, INamespace, INamedElement, IElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
IsAbstract
True when a class is abstract. The default value is false.
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isAbstract")]
[XmlAttribute(true)]
bool IsAbstract { get; set; }
Property Value
OwnedAttribute
The attributes (i.e. the properties) owned by the class. This is an ordered association. Subsets Classifier::attribute and Namespace::ownedMember. The attributes owned by a class. These do not include the inherited attributes. Attributes are represented by instances of Property.
[Browsable(false)]
[XmlElementName("ownedAttribute")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("class")]
IOrderedSetExpression<IProperty> OwnedAttribute { get; }
Property Value
OwnedOperation
The operations owned by the class. This is an ordered association. Subsets Classifier::feature and Namespace::ownedMember. The operations owned by a class. These do not include the inherited operations.
[Browsable(false)]
[XmlElementName("ownedOperation")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("class")]
IOrderedSetExpression<IOperation> OwnedOperation { get; }
Property Value
SuperClass
This gives the superclasses of a class. It redefines Classifier::general. The immediate superclasses of a class, from which the class inherits.
[XmlElementName("superClass")]
[XmlAttribute(true)]
ISetExpression<IClass> SuperClass { get; }