Interface IType
The public interface for Type
[DefaultImplementationType(typeof(Type))]
[XmlDefaultImplementationType(typeof(Type))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//Type")]
public interface IType : IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
Package
Specifies the owning Package of this Type, if any. <p>From package UML::CommonStructure.</p>
[Browsable(false)]
[XmlElementName("package")]
[XmlAttribute(true)]
[XmlOpposite("ownedType")]
IPackage Package { get; set; }
Property Value
Methods
ConformsTo(IType)
The query conformsTo() gives true for a Type that conforms to another. By default, two Types do not conform to each other. This query is intended to be redefined for specific conformance situations. result = (false) <p>From package UML::CommonStructure.</p>
bool ConformsTo(IType other)
Parameters
otherIType
Returns
CreateAssociation(bool, AggregationKind, string, int, object, IType, bool, AggregationKind, string, int, object)
Creates a(n) (binary) association between this type and the specified other type, with the specified navigabilities, aggregations, names, lower bounds, and upper bounds, and owned by this type's nearest package.
IAssociation CreateAssociation(bool end1IsNavigable, AggregationKind end1Aggregation, string end1Name, int end1Lower, object end1Upper, IType end1Type, bool end2IsNavigable, AggregationKind end2Aggregation, string end2Name, int end2Lower, object end2Upper)
Parameters
end1IsNavigableboolThe navigability for the first end of the new association.
end1AggregationAggregationKindThe aggregation for the first end of the new association.
end1NamestringThe name for the first end of the new association.
end1LowerintThe lower bound for the first end of the new association.
end1UpperobjectThe upper bound for the first end of the new association.
end1TypeITypeThe type for the first end of the new association.
end2IsNavigableboolThe navigability for the second end of the new association.
end2AggregationAggregationKindThe aggregation for the second end of the new association.
end2NamestringThe name for the second end of the new association.
end2LowerintThe lower bound for the second end of the new association.
end2UpperobjectThe upper bound for the second end of the new association.
Returns
GetAssociations()
Retrieves the associations in which this type is involved.
ISetExpression<IAssociation> GetAssociations()