Class ReferenceType
The default implementation of the ReferenceType class
Implements
Inherited Members
Namespace: NMF.Models.Meta
Assembly: NMF.Models.dll
Syntax
[XmlNamespace("http://nmf.codeplex.com/nmeta/")]
[XmlNamespacePrefix("nmeta")]
[ModelRepresentationClass("http://nmf.codeplex.com/nmeta/#//ReferenceType")]
public abstract class ReferenceType : StructuredType, IReferenceType, IStructuredType, IType, IMetaElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Constructors
| Edit this page View SourceReferenceType()
Declaration
public ReferenceType()
Properties
| Edit this page View SourceChildren
Gets the child model elements of this model element
Declaration
public override IEnumerableExpression<IModelElement> Children { get; }
Property Value
Type | Description |
---|---|
IEnumerableExpression<IModelElement> |
Overrides
| Edit this page View SourceClassInstance
Gets the Class model for this type
Declaration
public static IClass ClassInstance { get; }
Property Value
Type | Description |
---|---|
IClass |
Events
The Events property
Declaration
[Browsable(false)]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("DeclaringType")]
public ICollectionExpression<IEvent> Events { get; }
Property Value
Type | Description |
---|---|
ICollectionExpression<IEvent> |
ReferencedElements
Gets the referenced model elements of this model element
Declaration
public override IEnumerableExpression<IModelElement> ReferencedElements { get; }
Property Value
Type | Description |
---|---|
IEnumerableExpression<IModelElement> |
Overrides
| Edit this page View SourceReferences
The References property
Declaration
[Browsable(false)]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("DeclaringType")]
public ICollectionExpression<IReference> References { get; }
Property Value
Type | Description |
---|---|
ICollectionExpression<IReference> |
Methods
| Edit this page View SourceGetClass()
Gets the Class for this model element
Declaration
public override IClass GetClass()
Returns
Type | Description |
---|---|
IClass |
Overrides
| Edit this page View SourceGetCollectionForFeature(string)
Gets the Model element collection for the given feature
Declaration
protected override IList GetCollectionForFeature(string feature)
Parameters
Type | Name | Description |
---|---|---|
string | feature | The requested feature |
Returns
Type | Description |
---|---|
IList | A non-generic list of elements |
Overrides
| Edit this page View SourceGetCompositionName(object)
Gets the property name for the given container
Declaration
protected override string GetCompositionName(object container)
Parameters
Type | Name | Description |
---|---|---|
object | container | The container object |
Returns
Type | Description |
---|---|
string | The name of the respective container reference |