Interface IStructuredClassifier
The public interface for StructuredClassifier
[DefaultImplementationType(typeof(StructuredClassifier))]
[XmlDefaultImplementationType(typeof(StructuredClassifier))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//StructuredClassifier")]
public interface IStructuredClassifier : IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
OwnedAttribute
The Properties owned by the StructuredClassifier. <p>From package UML::StructuredClassifiers.</p>
[Browsable(false)]
[XmlElementName("ownedAttribute")]
[XmlAttribute(false)]
[Containment]
IListExpression<IProperty> OwnedAttribute { get; }
Property Value
OwnedConnector
The connectors owned by the StructuredClassifier. <p>From package UML::StructuredClassifiers.</p>
[Browsable(false)]
[XmlElementName("ownedConnector")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IConnector> OwnedConnector { get; }
Property Value
Methods
AllRoles()
All features of type ConnectableElement, equivalent to all direct and inherited roles. result = (allFeatures()->select(oclIsKindOf(ConnectableElement))->collect(oclAsType(ConnectableElement))->asSet()) <p>From package UML::StructuredClassifiers.</p>
ISetExpression<IConnectableElement> AllRoles()
Returns
CreateOwnedAttribute(string, IType, int, object)
Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this structured classifier.
IProperty CreateOwnedAttribute(string name, IType type, int lower, object upper)
Parameters
name
stringThe name for the new attribute, or null.
type
ITypeThe type for the new attribute, or null.
lower
intThe lower bound for the new attribute.
upper
objectThe upper bound for the new attribute.
Returns
GetParts()
Derivation for StructuredClassifier::/part result = (ownedAttribute->select(isComposite)->asSet()) <p>From package UML::StructuredClassifiers.</p>
ISetExpression<IProperty> GetParts()