Interface IClassifier
Contract for classifiers.
Inherited Members
Namespace: Kephas.Model
Assembly: Kephas.Model.dll
Syntax
public interface IClassifier : IModelElement, INamedElement, IAggregatedElementInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Properties
| Improve this Doc View SourceBaseClassifier
Gets the base classifier.
Declaration
IClassifier BaseClassifier { get; }
Property Value
Type | Description |
---|---|
IClassifier | The base classifier. |
BaseMixins
Gets the base mixins.
Declaration
IEnumerable<IClassifier> BaseMixins { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IClassifier> | The base mixins. |
IsAspect
Gets a value indicating whether this classifier is an aspect of other classifiers.
Declaration
bool IsAspect { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsMixin
Gets a value indicating whether this classifier is a mixin.
Declaration
bool IsMixin { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Members
Gets the members of this model element.
Declaration
IEnumerable<INamedElement> Members { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<INamedElement> | The model element members. |
Methods
Gets the classifier methods.
Declaration
IEnumerable<IMethod> Methods { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IMethod> | The classifier methods. |
Projection
Gets the projection where the model element is defined.
Declaration
IModelProjection Projection { get; }
Property Value
Type | Description |
---|---|
IModelProjection | The projection. |
Properties
Gets the classifier properties.
Declaration
IEnumerable<IProperty> Properties { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IProperty> | The classifier properties. |
QualifiedFullName
Gets the qualified name of the element.
Declaration
string QualifiedFullName { get; }
Property Value
Type | Description |
---|---|
System.String | The qualified name of the element. |
Remarks
The qualified name is unique within the container's members. Some elements have the qualified name the same as their name, but others will use a discriminator prefix to avoid name collisions. For example, annotations use the "@" discriminator, dimensions use "^", and projections use ":".
Methods
| Improve this Doc View SourceGetMember(String, Boolean)
Gets the member with the specified qualified name.
Declaration
INamedElement GetMember(string qualifiedName, bool throwOnNotFound = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | qualifiedName | The qualified name of the member. |
System.Boolean | throwOnNotFound | If set to |
Returns
Type | Description |
---|---|
INamedElement | The member with the provided qualified name or |
IsAspectOf(IClassifier)
Indicates whether this classifier is an aspect of the provided classifier.
Declaration
bool IsAspectOf(IClassifier classifier)
Parameters
Type | Name | Description |
---|---|---|
IClassifier | classifier | The classifier. |
Returns
Type | Description |
---|---|
System.Boolean |
|