Class OpaqueBehavior
An OpaqueBehavior is a Behavior whose specification is given in a textual language other than UML. <p>From package UML::CommonBehavior.</p>
[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//OpaqueBehavior")]
public class OpaqueBehavior : Behavior, IOpaqueBehavior, IBehavior, IClass, IBehavioredClassifier, IEncapsulatedClassifier, IStructuredClassifier, IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
OpaqueBehavior
- Implements
- Derived
- Inherited Members
Constructors
OpaqueBehavior()
Creates a new instance
public OpaqueBehavior()
Properties
Body
Specifies the behavior in one or more languages. <p>From package UML::CommonBehavior.</p>
[XmlElementName("body")]
[XmlAttribute(true)]
public IListExpression<string> Body { get; }
Property Value
ClassInstance
Gets the Class model for this type
public static IClass ClassInstance { get; }
Property Value
Language
Languages the body strings use in the same order as the body strings. <p>From package UML::CommonBehavior.</p>
[XmlElementName("language")]
[XmlAttribute(true)]
public IOrderedSetExpression<string> Language { get; }
Property Value
Methods
GetAttributeValue(string, int)
Resolves the given attribute name
protected override object GetAttributeValue(string attribute, int index)
Parameters
Returns
- object
The attribute value or null if it could not be found
GetClass()
Gets the Class for this model element
public override IClass GetClass()
Returns
GetCollectionForFeature(string)
Gets the Model element collection for the given feature
protected override IList GetCollectionForFeature(string feature)
Parameters
feature
stringThe requested feature
Returns
- IList
A non-generic list of elements