Interface IAssociation
The public interface for Association
[DefaultImplementationType(typeof(Association))]
[XmlDefaultImplementationType(typeof(Association))]
[ModelRepresentationClass("http://schema.omg.org/spec/MOF/2.0/cmof.xml#//Association")]
public interface IAssociation : IRelationship, IClassifier, IType, IPackageableElement, INamespace, INamedElement, IElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
IsDerived
Specifies whether the association is derived from other model elements such as other associations or constraints. The default value is false.
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isDerived")]
[XmlAttribute(true)]
bool IsDerived { get; set; }
Property Value
MemberEnd
Each end represents participation of instances of the classifier connected to the end in links of the association. This is an ordered association.
[LowerBound(2)]
[XmlElementName("memberEnd")]
[XmlAttribute(true)]
[XmlOpposite("association")]
IOrderedSetExpression<IProperty> MemberEnd { get; }
Property Value
NavigableOwnedEnd
The navigable ends that are owned by the association itself.
[Browsable(false)]
[XmlElementName("navigableOwnedEnd")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IProperty> NavigableOwnedEnd { get; }
Property Value
OwnedEnd
The ends that are owned by the association itself. This is an ordered association.
[Browsable(false)]
[XmlElementName("ownedEnd")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("owningAssociation")]
IListExpression<IProperty> OwnedEnd { get; }
Property Value
Methods
Association_ends(object, object)
Association ends of associations with more than two ends must be owned by the association. if memberEnd->size() > 2 then ownedEnd->includesAll(memberEnd)
bool Association_ends(object diagnostics, object context)