Interface IBehavioralFeature
The public interface for BehavioralFeature
[DefaultImplementationType(typeof(BehavioralFeature))]
[XmlDefaultImplementationType(typeof(BehavioralFeature))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//BehavioralFeature")]
public interface IBehavioralFeature : IFeature, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
Concurrency
Specifies the semantics of concurrent calls to the same passive instance (i.e., an instance originating from a Class with isActive being false). Active instances control access to their own BehavioralFeatures. <p>From package UML::Classification.</p>
[XmlElementName("concurrency")]
[XmlAttribute(true)]
CallConcurrencyKind Concurrency { get; set; }
Property Value
IsAbstract
If true, then the BehavioralFeature does not have an implementation, and one must be supplied by a more specific Classifier. If false, the BehavioralFeature must have an implementation in the Classifier or one must be inherited. <p>From package UML::Classification.</p>
[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isAbstract")]
[XmlAttribute(true)]
bool IsAbstract { get; set; }
Property Value
Method
A Behavior that implements the BehavioralFeature. There may be at most one Behavior for a particular pairing of a Classifier (as owner of the Behavior) and a BehavioralFeature (as specification of the Behavior). <p>From package UML::Classification.</p>
[XmlElementName("method")]
[XmlAttribute(true)]
[XmlOpposite("specification")]
ISetExpression<IBehavior> Method { get; }
Property Value
OwnedParameter
The ordered set of formal Parameters of this BehavioralFeature. <p>From package UML::Classification.</p>
[Browsable(false)]
[XmlElementName("ownedParameter")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IParameter> OwnedParameter { get; }
Property Value
OwnedParameterSet
The ParameterSets owned by this BehavioralFeature. <p>From package UML::Classification.</p>
[Browsable(false)]
[XmlElementName("ownedParameterSet")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IParameterSet> OwnedParameterSet { get; }
Property Value
RaisedException
The Types representing exceptions that may be raised during an invocation of this BehavioralFeature. <p>From package UML::Classification.</p>
[XmlElementName("raisedException")]
[XmlAttribute(true)]
ISetExpression<IType> RaisedException { get; }
Property Value
Methods
Abstract_no_method(object, object)
When isAbstract is true there are no methods. isAbstract implies method->isEmpty()
bool Abstract_no_method(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
CreateReturnResult(string, IType)
Creates a return result parameter with the specified name and type.
IParameter CreateReturnResult(string name, IType type)
Parameters
name
stringThe name for the new return result, or null.
type
ITypeThe type for the new return result, or null.
Returns
InputParameters()
The ownedParameters with direction in and inout. result = (ownedParameter->select(direction=ParameterDirectionKind::_'in' or direction=ParameterDirectionKind::inout)) <p>From package UML::Classification.</p>
IOrderedSetExpression<IParameter> InputParameters()
Returns
OutputParameters()
The ownedParameters with direction out, inout, or return. result = (ownedParameter->select(direction=ParameterDirectionKind::out or direction=ParameterDirectionKind::inout or direction=ParameterDirectionKind::return)) <p>From package UML::Classification.</p>
IOrderedSetExpression<IParameter> OutputParameters()