|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Behavioral Feature'. A behavioral feature specifies that an instance of a classifier will respond to a designated request by invoking a behavior. BehavioralFeature is an abstract metaclass specializing Feature and Namespace. Kinds of behavioral aspects are modeled by subclasses of BehavioralFeature.
The following features are supported:
UML2Package.getBehavioralFeature()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
Parameter |
createFormalParameter()
Creates a Parameter and appends it to the 'Formal Parameter' containment reference list |
Parameter |
createFormalParameter(EClass eClass)
Deprecated. Use #createFormalParameter() instead. |
Parameter |
createReturnResult()
Creates a Parameter and appends it to the 'Return Result' containment reference list |
Parameter |
createReturnResult(EClass eClass)
Deprecated. Use #createReturnResult() instead. |
CallConcurrencyKind |
getConcurrency()
Returns the value of the 'Concurrency' attribute. |
Parameter |
getFormalParameter(java.lang.String name)
Retrieves the Parameter with the specified 'Name' from the 'Formal Parameter' containment reference list |
EList |
getFormalParameters()
Returns the value of the 'Formal Parameter' containment reference list. |
Behavior |
getMethod(java.lang.String name)
Retrieves the Behavior with the specified 'Name' from the 'Method' reference list |
EList |
getMethods()
Returns the value of the 'Method' reference list. |
Parameter |
getParameter(java.lang.String name)
Retrieves the Parameter with the specified 'Name' from the 'Parameter' reference list |
EList |
getParameters()
Returns the value of the 'Parameter' reference list. |
Type |
getRaisedException(java.lang.String name)
Retrieves the Type with the specified 'Name' from the 'Raised Exception' reference list |
EList |
getRaisedExceptions()
Returns the value of the 'Raised Exception' reference list. |
Parameter |
getReturnResult(java.lang.String name)
Retrieves the Parameter with the specified 'Name' from the 'Return Result' containment reference list |
EList |
getReturnResults()
Returns the value of the 'Return Result' containment reference list. |
boolean |
isAbstract()
Returns the value of the 'Is Abstract' attribute |
void |
setConcurrency(CallConcurrencyKind value)
Sets the value of the ' Concurrency ' attribute |
void |
setIsAbstract(boolean value)
Sets the value of the ' Is Abstract ' attribute |
Methods inherited from interface org.eclipse.uml2.NamedElement |
---|
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.Feature |
---|
getFeaturingClassifier, getFeaturingClassifiers, isStatic, setIsStatic |
Methods inherited from interface org.eclipse.uml2.RedefinableElement |
---|
getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public boolean isAbstract()
If the meaning of the 'Is Abstract' attribute isn't clear, there really should be more of a description here...
If true, then the behavioral feature does not have an implementation, and one must be supplied by a more specific element. If false, the behavioral feature must have an implementation in the classifier or one must be inherited from a more general element. Communications
setIsAbstract(boolean)
,
UML2Package.getBehavioralFeature_IsAbstract()
public void setIsAbstract(boolean value)
Is Abstract
' attribute.
value
- the new value of the 'Is Abstract' attribute.isAbstract()
public CallConcurrencyKind getConcurrency()
CallConcurrencyKind
.
If the meaning of the 'Concurrency' attribute isn't clear, there really should be more of a description here...
CallConcurrencyKind
,
setConcurrency(CallConcurrencyKind)
,
UML2Package.getBehavioralFeature_Concurrency()
public void setConcurrency(CallConcurrencyKind value)
Concurrency
' attribute.
value
- the new value of the 'Concurrency' attribute.CallConcurrencyKind
,
getConcurrency()
public EList getParameters()
Parameter
.
If the meaning of the 'Parameter' reference list isn't clear, there really should be more of a description here...
Specifies the parameters of the BehavioralFeature. Subsets Namespace::member. This is a derived union and is ordered.
UML2Package.getBehavioralFeature_Parameter()
public Parameter getParameter(java.lang.String name)
Parameter
with the specified 'Name' from the 'Parameter' reference list.
name
- The 'Name' of the Parameter
to retrieve.
Parameter
with the specified 'Name', or null
.getParameters()
public EList getFormalParameters()
Parameter
.
If the meaning of the 'Formal Parameter' containment reference list isn't clear, there really should be more of a description here...
Specifies the ordered set of formal parameters of this BehavioralFeature. Subsets BehavioralFeature::parameter and Namespace::ownedMember.
UML2Package.getBehavioralFeature_FormalParameter()
public Parameter getFormalParameter(java.lang.String name)
Parameter
with the specified 'Name' from the 'Formal Parameter' containment reference list.
name
- The 'Name' of the Parameter
to retrieve.
Parameter
with the specified 'Name', or null
.getFormalParameters()
public Parameter createFormalParameter(EClass eClass)
Parameter
and appends it to the 'Formal Parameter' containment reference list.
eClass
- The Ecore class of the Parameter
to create.
Parameter
.getFormalParameters()
public Parameter createFormalParameter()
Parameter
and appends it to the 'Formal Parameter' containment reference list.
Parameter
.getFormalParameters()
public EList getReturnResults()
Parameter
.
If the meaning of the 'Return Result' containment reference list isn't clear, there really should be more of a description here...
Specifies the ordered set of return results of this BehavioralFeature. Subsets Behavioral- Feature::parameter and Namespace::ownedMember.
UML2Package.getBehavioralFeature_ReturnResult()
public Parameter getReturnResult(java.lang.String name)
Parameter
with the specified 'Name' from the 'Return Result' containment reference list.
name
- The 'Name' of the Parameter
to retrieve.
Parameter
with the specified 'Name', or null
.getReturnResults()
public Parameter createReturnResult(EClass eClass)
Parameter
and appends it to the 'Return Result' containment reference list.
eClass
- The Ecore class of the Parameter
to create.
Parameter
.getReturnResults()
public Parameter createReturnResult()
Parameter
and appends it to the 'Return Result' containment reference list.
Parameter
.getReturnResults()
public EList getRaisedExceptions()
Type
.
If the meaning of the 'Raised Exception' reference list isn't clear, there really should be more of a description here...
References the Types representing exceptions that may be raised during an invocation of this operation.
UML2Package.getBehavioralFeature_RaisedException()
public Type getRaisedException(java.lang.String name)
Type
with the specified 'Name' from the 'Raised Exception' reference list.
name
- The 'Name' of the Type
to retrieve.
Type
with the specified 'Name', or null
.getRaisedExceptions()
public EList getMethods()
Behavior
.
It is bidirectional and its opposite is 'Specification
'.
If the meaning of the 'Method' reference list isn't clear, there really should be more of a description here...
A behavioral description that implements the behavioral feature. There may be at most one behavior for a particular pairing of a classifier (as owner of the behavior) and a behavioral feature (as specification of the behavior).
UML2Package.getBehavioralFeature_Method()
,
Behavior.getSpecification()
public Behavior getMethod(java.lang.String name)
Behavior
with the specified 'Name' from the 'Method' reference list.
name
- The 'Name' of the Behavior
to retrieve.
Behavior
with the specified 'Name', or null
.getMethods()
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |