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
other
IType
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
end1IsNavigable
boolThe navigability for the first end of the new association.
end1Aggregation
AggregationKindThe aggregation for the first end of the new association.
end1Name
stringThe name for the first end of the new association.
end1Lower
intThe lower bound for the first end of the new association.
end1Upper
objectThe upper bound for the first end of the new association.
end1Type
ITypeThe type for the first end of the new association.
end2IsNavigable
boolThe navigability for the second end of the new association.
end2Aggregation
AggregationKindThe aggregation for the second end of the new association.
end2Name
stringThe name for the second end of the new association.
end2Lower
intThe lower bound for the second end of the new association.
end2Upper
objectThe upper bound for the second end of the new association.
Returns
GetAssociations()
Retrieves the associations in which this type is involved.
ISetExpression<IAssociation> GetAssociations()